Description
Defines a collection of pixel offsets, one for each string in the batch.
Syntax
[Visual Basic .NET] |
---|
Public Sub SetPixelOffsets( _
ByVal PixelOffsets As System.Array _
)
|
[C#] |
---|
public void SetPixelOffsets(
System.Array PixelOffsets
);
|
[Managed C++] |
---|
public: void SetPixelOffsets(
System::Array ^ PixelOffsets
);
|
[Unmanaged C++] |
---|
public: HRESULT SetPixelOffsets(
SAFEARRAY * * PixelOffsets
);
|
[Java] |
---|
public void setPixelOffsets(
AgSafeArray PixelOffsets
);
|
[Python - STK API ] |
---|
def SetPixelOffsets(self, PixelOffsets:list) -> None:
|
Parameters
Remarks
See Also
Example
Shows the format of the PixelOffsets parameter when setting per string pixel offsets.
[C#] |
---|
Array pixelOffset = new object[]
{
1, 2,
2, 1
};
IAgStkGraphicsTextBatchPrimitiveOptionalParameters parameters = sceneManager.Initializers.TextBatchPrimitiveOptionalParameters.Initialize();
parameters.SetPixelOffsets(ref pixelOffset);
|
|
Shows the format of the PixelOffsets parameter when setting per string pixel offsets.
[Visual Basic .NET] |
---|
Dim pixelOffset As Array = New Object() {1, 2, 2, 1}
Dim parameters As IAgStkGraphicsTextBatchPrimitiveOptionalParameters = sceneManager.Initializers.TextBatchPrimitiveOptionalParameters.Initialize()
parameters.SetPixelOffsets(pixelOffset)
|
|