GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / PrintSetAutoRotation Method
Defines the auto-rotation property. Set this parameter to true if you want to select the page orientation automatically, otherwise set it to false.





In This Topic
PrintSetAutoRotation Method (GdPictureImaging)
In This Topic
Sets up the auto-rotation property of the active printer, that determines, if the pages are automatically rotated to fit on the output medium when printing.
Syntax
'Declaration
 
Public Function PrintSetAutoRotation( _
   ByVal AutoRotation As Boolean _
) As GdPictureStatus
public GdPictureStatus PrintSetAutoRotation( 
   bool AutoRotation
)
public function PrintSetAutoRotation( 
    AutoRotation: Boolean
): GdPictureStatus; 
public function PrintSetAutoRotation( 
   AutoRotation : boolean
) : GdPictureStatus;
public: GdPictureStatus PrintSetAutoRotation( 
   bool AutoRotation
) 
public:
GdPictureStatus PrintSetAutoRotation( 
   bool AutoRotation
) 

Parameters

AutoRotation
Defines the auto-rotation property. Set this parameter to true if you want to select the page orientation automatically, otherwise set it to false.

Return Value

A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK.

We strongly recommend always checking this status first.

Remarks
Just to remind you that the active printer is the printer identified by the PrintGetActivePrinter method or set by the PrintSetActivePrinter method and it is dedicated to executing all subsequent print jobs using this class as well as utilizing all by you altered printer settings.
See Also