'Declaration Public Overridable Sub print( _
ByVal bUIA value indicating whether to present UI to the user to obtain printing information and confirm the action. This parameter is optional. Default value is true.As Boolean, _
ByVal nStart(optional) A zero-based index that defines the start of an inclusive range of pages. If nStart and nEnd are not specified, all pages in the document are printed. If only nStart is specified, the range of pages is the single page specified by nStart. If nStart and nEnd parameters are used, bUI must be false.As System.Int32, _
ByVal nEnd(optional) A zero-based index that defines the end of an inclusive page range. If nStart and nEnd are not specified, all pages in the document are printed. If only nEnd is specified, the range of a pages is 0 to nEnd. If nStart and nEnd parameters are used, bUI must be false.As System.Int32, _
ByVal bSilentA value indicating whether to suppress the cancel dialog box while the document is printing. This parameter is optional. Default value is false.As Boolean, _
ByVal bShrinkToFitA value indicating whether to shrink the page (if necessary) to fit within the imageable area of the printed page. If false, it is not. This parameter is optional. Default value is false.As Boolean, _
ByVal bPrintAsImageA value indicating whether to print pages as an image. This parameter is optional. Default value is false.As Boolean, _
ByVal bReverseA value indicating whether to print from nEnd to nStart. This parameter is optional. Default value is false.As Boolean, _
ByVal bAnnotationsA value indicating whether annotations are printed. This parameter is optional. Default value is true.As Boolean _
)
public virtual void print(
bool bUI,
System.Int32 nStart,
System.Int32 nEnd,
bool bSilent,
bool bShrinkToFit,
bool bPrintAsImage,
bool bReverse,
bool bAnnotations
)
public: virtual void print(
bool bUI,
System.Int32 nStart,
System.Int32 nEnd,
bool bSilent,
bool bShrinkToFit,
bool bPrintAsImage,
bool bReverse,
bool bAnnotations
)
public:
virtual void print(
bool bUI,
System.Int32 nStart,
System.Int32 nEnd,
bool bSilent,
bool bShrinkToFit,
bool bPrintAsImage,
bool bReverse,
bool bAnnotations
)
Parameters
- bUI
- A value indicating whether to present UI to the user to obtain printing information and confirm the action. This parameter is optional. Default value is true.
- nStart
- (optional) A zero-based index that defines the start of an inclusive range of pages. If nStart and nEnd are not specified, all pages in the document are printed. If only nStart is specified, the range of pages is the single page specified by nStart. If nStart and nEnd parameters are used, bUI must be false.
- nEnd
- (optional) A zero-based index that defines the end of an inclusive page range. If nStart and nEnd are not specified, all pages in the document are printed. If only nEnd is specified, the range of a pages is 0 to nEnd. If nStart and nEnd parameters are used, bUI must be false.
- bSilent
- A value indicating whether to suppress the cancel dialog box while the document is printing. This parameter is optional. Default value is false.
- bShrinkToFit
- A value indicating whether to shrink the page (if necessary) to fit within the imageable area of the printed page. If false, it is not. This parameter is optional. Default value is false.
- bPrintAsImage
- A value indicating whether to print pages as an image. This parameter is optional. Default value is false.
- bReverse
- A value indicating whether to print from nEnd to nStart. This parameter is optional. Default value is false.
- bAnnotations
- A value indicating whether annotations are printed. This parameter is optional. Default value is true.