ZebraCardGraphicsInitialize Method (Int32, Int32, OrientationType, PrintType, NullableColor)
|
Initializes the drawing surface.
Namespace:
Zebra.Sdk.Card.Graphics
Assembly:
SdkApi_Card_Desktop (in SdkApi_Card_Desktop.dll) Version: 2.14.1989
Syntax public void Initialize(
int maxWidth,
int maxHeight,
OrientationType orientation,
PrintType printType,
Nullable<Color> fillColor
)
Public Sub Initialize (
maxWidth As Integer,
maxHeight As Integer,
orientation As OrientationType,
printType As PrintType,
fillColor As Nullable(Of Color)
)
public:
virtual void Initialize(
int maxWidth,
int maxHeight,
OrientationType orientation,
PrintType printType,
Nullable<Color> fillColor
) sealed
Parameters
- maxWidth
- Type: SystemInt32
The maximum width of the image. (limited based on printer model) - maxHeight
- Type: SystemInt32
The maximum height of the image. (limited based on printer model) - orientation
- Type: Zebra.Sdk.Card.EnumerationsOrientationType
The orientation of the image. - printType
- Type: Zebra.Sdk.Card.EnumerationsPrintType
The type of print to be performed. - fillColor
- Type: SystemNullableColor
The background fill color. (default is White or 0xffffff)
Implements
ZebraGraphicsInitialize(Int32, Int32, OrientationType, PrintType, NullableColor)Exceptions Remarks
If the specified maxWidth or maxHeight is 0 then the maximum values for the specified printer model will be used.
See Also