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