Description
Gets or sets the per-batch pixel offset,
which is applied to each string in the text batch. The array
contains one x pixel offset followed by one y pixel offset.
Property type
Read-write property
Syntax
| [Visual Basic .NET] |
Public Property PixelOffset() As Variant()
|
Remarks
Example
Shows the format of
the PixelOffset property when setting the per-batch pixel offset.
| [C#] |
Copy Code
|
Array pixelOffset = new object[]
{
1,
2
};
IAgStkGraphicsTextBatchPrimitiveOptionalParameters parameters = sceneManager.Initializers.TextBatchPrimitiveOptionalParameters.Initialize();
parameters.PixelOffset = pixelOffset;
|
|
Shows the format of
the PixelOffset property when setting the per-batch pixel offset.
| [Visual Basic .NET] |
Copy Code
|
Dim
pixelOffset As Array = New
Object() {1, 2}
Dim parameters As
IAgStkGraphicsTextBatchPrimitiveOptionalParameters =
sceneManager.Initializers.TextBatchPrimitiveOptionalParameters.Initialize()
parameters.PixelOffset = pixelOffset
|
|
See Also