System.Drawing.Printing
21 wrapped types. Load them with using { "System.Drawing.Printing" }. Click a class to open it.
InvalidPrinterException class · extends SystemException
System.Drawing.Printing.InvalidPrinterException · assembly System.Drawing.Common
Implements: ISerializable
Constructors
new InvalidPrinterException(PrinterSettings settings) |
Ring: new InvalidPrinterException(args) uses one constructor; the others are chosen by the parameter names: new InvalidPrinterException().@New([ :param = value ]) or dnNew("InvalidPrinterException",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetObjectData | GetObjectData(p1,p2) | void GetObjectData(SerializationInfo info, StreamingContext context) |
Members of the base class are inherited.
Margins class
System.Drawing.Printing.Margins · assembly System.Drawing.Common
Implements: ICloneable
Constructors
new Margins() |
new Margins(int left, int right, int top, int bottom) |
Ring: new Margins(args) uses one constructor; the others are chosen by the parameter names: new Margins().@New([ :param = value ]) or dnNew("Margins",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Left | int | read, write | o.Left o.Left = v |
Right | int | read, write | o.Right o.Right = v |
Top | int | read, write | o.Top o.Top = v |
Bottom | int | read, write | o.Bottom o.Bottom = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clone | callMethod("Clone",[]) | object Clone() |
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
ToString | callMethod("ToString",[]) | string ToString() |
MarginsConverter class · extends ExpandableObjectConverter
System.Drawing.Printing.MarginsConverter · assembly System.Drawing.Common
Constructors
new MarginsConverter() |
Ring: new MarginsConverter(args) uses one constructor; the others are chosen by the parameter names: new MarginsConverter().@New([ :param = value ]) or dnNew("MarginsConverter",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanConvertFrom | callMethod("CanConvertFrom",[p1,p2]) | bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) |
CanConvertTo | callMethod("CanConvertTo",[p1,p2]) | bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) |
ConvertFrom | ConvertFrom([ :context = …, :culture = …, :value = … ]) | object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) |
ConvertTo | ConvertTo([ :context = …, :culture = …, :value = …, :destinationType = … ]) | object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) |
CreateInstance | CreateInstance([ :context = …, :propertyValues = … ]) | object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues) |
GetCreateInstanceSupported | callMethod("GetCreateInstanceSupported",[p1]) | bool GetCreateInstanceSupported(ITypeDescriptorContext context) |
Members of the base class are inherited.
PageSettings class
System.Drawing.Printing.PageSettings · assembly System.Drawing.Common
Implements: ICloneable
Constructors
new PageSettings() |
new PageSettings(PrinterSettings printerSettings) |
Ring: new PageSettings(args) uses one constructor; the others are chosen by the parameter names: new PageSettings().@New([ :param = value ]) or dnNew("PageSettings",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Bounds | Rectangle | read | o.Bounds |
Color | bool | read, write | o.Color o.Color = v |
HardMarginX | float | read | o.HardMarginX |
HardMarginY | float | read | o.HardMarginY |
Landscape | bool | read, write | o.Landscape o.Landscape = v |
Margins | Margins | read, write | o.Margins o.Margins = v |
PaperSize | PaperSize | read, write | o.PaperSize o.PaperSize = v |
PaperSource | PaperSource | read, write | o.PaperSource o.PaperSource = v |
PrintableArea | RectangleF | read | o.PrintableArea |
PrinterResolution | PrinterResolution | read, write | o.PrinterResolution o.PrinterResolution = v |
PrinterSettings | PrinterSettings | read, write | o.PrinterSettings o.PrinterSettings = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clone | callMethod("Clone",[]) | object Clone() |
CopyToHdevmode | CopyToHdevmode(p1) | void CopyToHdevmode(IntPtr hdevmode) |
SetHdevmode | SetHdevmode(p1) | void SetHdevmode(IntPtr hdevmode) |
ToString | callMethod("ToString",[]) | string ToString() |
PaperSize class
System.Drawing.Printing.PaperSize · assembly System.Drawing.Common
Constructors
new PaperSize() |
new PaperSize(string name, int width, int height) |
Ring: new PaperSize(args) uses one constructor; the others are chosen by the parameter names: new PaperSize().@New([ :param = value ]) or dnNew("PaperSize",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Height | int | read, write | o.Height o.Height = v |
Kind | PaperKind | read | o.Kind |
PaperName | string | read, write | o.PaperName o.PaperName = v |
RawKind | int | read, write | o.RawKind o.RawKind = v |
Width | int | read, write | o.Width o.Width = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ToString | callMethod("ToString",[]) | string ToString() |
PaperSource class
System.Drawing.Printing.PaperSource · assembly System.Drawing.Common
Constructors
new PaperSource() |
Ring: new PaperSource(args) uses one constructor; the others are chosen by the parameter names: new PaperSource().@New([ :param = value ]) or dnNew("PaperSource",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Kind | PaperSourceKind | read | o.Kind |
RawKind | int | read, write | o.RawKind o.RawKind = v |
SourceName | string | read, write | o.SourceName o.SourceName = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ToString | callMethod("ToString",[]) | string ToString() |
PreviewPageInfo class sealed
System.Drawing.Printing.PreviewPageInfo · assembly System.Drawing.Common
Constructors
new PreviewPageInfo(Image image, Size physicalSize) |
Ring: new PreviewPageInfo(args) uses one constructor; the others are chosen by the parameter names: new PreviewPageInfo().@New([ :param = value ]) or dnNew("PreviewPageInfo",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Image | Image | read | o.Image |
PhysicalSize | Size | read | o.PhysicalSize |
PreviewPrintController class · extends PrintController
System.Drawing.Printing.PreviewPrintController · assembly System.Drawing.Common
Constructors
new PreviewPrintController() |
Ring: new PreviewPrintController(args) uses one constructor; the others are chosen by the parameter names: new PreviewPrintController().@New([ :param = value ]) or dnNew("PreviewPrintController",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
IsPreview | bool | read | o.getIsPreview() |
UseAntiAlias | bool | read, write | o.UseAntiAlias o.UseAntiAlias = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetPreviewPageInfo | callMethod("GetPreviewPageInfo",[]) | PreviewPageInfo[] GetPreviewPageInfo() |
OnEndPage | OnEndPage(p1,p2) | void OnEndPage(PrintDocument document, PrintPageEventArgs e) |
OnEndPrint | OnEndPrint(p1,p2) | void OnEndPrint(PrintDocument document, PrintEventArgs e) |
OnStartPage | callMethod("OnStartPage",[p1,p2]) | Graphics OnStartPage(PrintDocument document, PrintPageEventArgs e) |
OnStartPrint | OnStartPrint(p1,p2) | void OnStartPrint(PrintDocument document, PrintEventArgs e) |
Members of the base class are inherited.
PrintController class abstract
System.Drawing.Printing.PrintController · assembly System.Drawing.Common
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
IsPreview | bool | read | o.IsPreview |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
OnEndPage | OnEndPage(p1,p2) | void OnEndPage(PrintDocument document, PrintPageEventArgs e) |
OnEndPrint | OnEndPrint(p1,p2) | void OnEndPrint(PrintDocument document, PrintEventArgs e) |
OnStartPage | callMethod("OnStartPage",[p1,p2]) | Graphics OnStartPage(PrintDocument document, PrintPageEventArgs e) |
OnStartPrint | OnStartPrint(p1,p2) | void OnStartPrint(PrintDocument document, PrintEventArgs e) |
PrintDocument class · extends Component
System.Drawing.Printing.PrintDocument · assembly System.Drawing.Common
Implements: IComponent, IDisposable
Constructors
new PrintDocument() |
Ring: new PrintDocument(args) uses one constructor; the others are chosen by the parameter names: new PrintDocument().@New([ :param = value ]) or dnNew("PrintDocument",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DefaultPageSettings | PageSettings | read, write | o.DefaultPageSettings o.DefaultPageSettings = v |
DocumentName | string | read, write | o.DocumentName o.DocumentName = v |
OriginAtMargins | bool | read, write | o.OriginAtMargins o.OriginAtMargins = v |
PrintController | PrintController | read, write | o.PrintController o.PrintController = v |
PrinterSettings | PrinterSettings | read, write | o.PrinterSettings o.PrinterSettings = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Print | callMethod("Print",[]) | void Print() |
ToString | callMethod("ToString",[]) | string ToString() |
Events
| Event | Handler type | In Ring |
|---|---|---|
BeginPrint | PrintEventHandler | o.setBeginPrintEvent(code) · o.clearBeginPrintEvent() |
EndPrint | PrintEventHandler | o.setEndPrintEvent(code) · o.clearEndPrintEvent() |
PrintPage | PrintPageEventHandler | o.setPrintPageEvent(code) · o.clearPrintPageEvent() |
QueryPageSettings | QueryPageSettingsEventHandler | o.setQueryPageSettingsEvent(code) · o.clearQueryPageSettingsEvent() |
Members of the base class are inherited.
PrinterResolution class
System.Drawing.Printing.PrinterResolution · assembly System.Drawing.Common
Constructors
new PrinterResolution() |
Ring: new PrinterResolution(args) uses one constructor; the others are chosen by the parameter names: new PrinterResolution().@New([ :param = value ]) or dnNew("PrinterResolution",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Kind | PrinterResolutionKind | read, write | o.Kind o.Kind = v |
X | int | read, write | o.X o.X = v |
Y | int | read, write | o.Y o.Y = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ToString | callMethod("ToString",[]) | string ToString() |
PrinterSettings class
System.Drawing.Printing.PrinterSettings · assembly System.Drawing.Common
Implements: ICloneable
Constructors
new PrinterSettings() |
Ring: new PrinterSettings(args) uses one constructor; the others are chosen by the parameter names: new PrinterSettings().@New([ :param = value ]) or dnNew("PrinterSettings",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
CanDuplex | bool | read | o.CanDuplex |
Copies | short | read, write | o.Copies o.Copies = v |
Collate | bool | read, write | o.Collate o.Collate = v |
DefaultPageSettings | PageSettings | read | o.DefaultPageSettings |
Duplex | Duplex | read, write | o.Duplex o.Duplex = v |
FromPage | int | read, write | o.FromPage o.FromPage = v |
IsDefaultPrinter | bool | read | o.IsDefaultPrinter |
IsPlotter | bool | read | o.IsPlotter |
IsValid | bool | read | o.IsValid |
LandscapeAngle | int | read | o.LandscapeAngle |
MaximumCopies | int | read | o.MaximumCopies |
MaximumPage | int | read, write | o.MaximumPage o.MaximumPage = v |
MinimumPage | int | read, write | o.MinimumPage o.MinimumPage = v |
PrintFileName | string | read, write | o.PrintFileName o.PrintFileName = v |
PaperSizes | PrinterSettings.PaperSizeCollection | read | o.PaperSizes |
PaperSources | PrinterSettings.PaperSourceCollection | read | o.PaperSources |
PrintRange | PrintRange | read, write | o.PrintRange o.PrintRange = v |
PrintToFile | bool | read, write | o.PrintToFile o.PrintToFile = v |
PrinterName | string | read, write | o.PrinterName o.PrinterName = v |
PrinterResolutions | PrinterSettings.PrinterResolutionCollection | read | o.PrinterResolutions |
SupportsColor | bool | read | o.SupportsColor |
ToPage | int | read, write | o.ToPage o.ToPage = v |
InstalledPrinters | PrinterSettings.StringCollection | read · static | o.InstalledPrinters |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Clone | callMethod("Clone",[]) | object Clone() |
CreateMeasurementGraphics | CreateMeasurementGraphics(NULL)CreateMeasurementGraphics(value)CreateMeasurementGraphics([ :honorOriginAtMargins = … ])CreateMeasurementGraphics([ :pageSettings = … ])CreateMeasurementGraphics([ :pageSettings = …, :honorOriginAtMargins = … ]) | Graphics CreateMeasurementGraphics()Graphics CreateMeasurementGraphics(bool honorOriginAtMargins)Graphics CreateMeasurementGraphics(PageSettings pageSettings)Graphics CreateMeasurementGraphics(PageSettings pageSettings, bool honorOriginAtMargins) |
GetHdevmode | GetHdevmode(NULL)GetHdevmode(value)GetHdevmode([ :pageSettings = … ]) | IntPtr GetHdevmode()IntPtr GetHdevmode(PageSettings pageSettings) |
GetHdevnames | callMethod("GetHdevnames",[]) | IntPtr GetHdevnames() |
IsDirectPrintingSupported | IsDirectPrintingSupported(p1) | bool IsDirectPrintingSupported(ImageFormat imageFormat)bool IsDirectPrintingSupported(Image image) |
SetHdevmode | SetHdevmode(p1) | void SetHdevmode(IntPtr hdevmode) |
SetHdevnames | SetHdevnames(p1) | void SetHdevnames(IntPtr hdevnames) |
ToString | callMethod("ToString",[]) | string ToString() |
PrinterSettingsPaperSizeCollection class
System.Drawing.Printing.PrinterSettings+PaperSizeCollection · assembly System.Drawing.Common
Implements: ICollection, IEnumerable
Constructors
new PrinterSettingsPaperSizeCollection(PaperSize[] array) |
Ring: new PrinterSettingsPaperSizeCollection(args) uses one constructor; the others are chosen by the parameter names: new PrinterSettingsPaperSizeCollection().@New([ :param = value ]) or dnNew("PrinterSettingsPaperSizeCollection",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
Indexer
o.Item(int index) → PaperSize
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | int Add(PaperSize paperSize) |
CopyTo | CopyTo(p1,p2) | void CopyTo(PaperSize[] paperSizes, int index) |
GetEnumerator | callMethod("GetEnumerator",[]) | IEnumerator GetEnumerator() |
PrinterSettingsPaperSourceCollection class
System.Drawing.Printing.PrinterSettings+PaperSourceCollection · assembly System.Drawing.Common
Implements: ICollection, IEnumerable
Constructors
new PrinterSettingsPaperSourceCollection(PaperSource[] array) |
Ring: new PrinterSettingsPaperSourceCollection(args) uses one constructor; the others are chosen by the parameter names: new PrinterSettingsPaperSourceCollection().@New([ :param = value ]) or dnNew("PrinterSettingsPaperSourceCollection",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
Indexer
o.Item(int index) → PaperSource
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | int Add(PaperSource paperSource) |
CopyTo | CopyTo(p1,p2) | void CopyTo(PaperSource[] paperSources, int index) |
GetEnumerator | callMethod("GetEnumerator",[]) | IEnumerator GetEnumerator() |
PrinterSettingsPrinterResolutionCollection class
System.Drawing.Printing.PrinterSettings+PrinterResolutionCollection · assembly System.Drawing.Common
Implements: ICollection, IEnumerable
Constructors
new PrinterSettingsPrinterResolutionCollection(PrinterResolution[] array) |
Ring: new PrinterSettingsPrinterResolutionCollection(args) uses one constructor; the others are chosen by the parameter names: new PrinterSettingsPrinterResolutionCollection().@New([ :param = value ]) or dnNew("PrinterSettingsPrinterResolutionCollection",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
Indexer
o.Item(int index) → PrinterResolution
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | int Add(PrinterResolution printerResolution) |
CopyTo | CopyTo(p1,p2) | void CopyTo(PrinterResolution[] printerResolutions, int index) |
GetEnumerator | callMethod("GetEnumerator",[]) | IEnumerator GetEnumerator() |
PrinterSettingsStringCollection class
System.Drawing.Printing.PrinterSettings+StringCollection · assembly System.Drawing.Common
Implements: ICollection, IEnumerable
Constructors
new PrinterSettingsStringCollection(string[] array) |
Ring: new PrinterSettingsStringCollection(args) uses one constructor; the others are chosen by the parameter names: new PrinterSettingsStringCollection().@New([ :param = value ]) or dnNew("PrinterSettingsStringCollection",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
Indexer
o.Item(int index) → string
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | callMethod("Add",[p1]) | int Add(string value) |
CopyTo | CopyTo(p1,p2) | void CopyTo(string[] strings, int index) |
GetEnumerator | callMethod("GetEnumerator",[]) | IEnumerator GetEnumerator() |
PrinterUnitConvert class sealed
System.Drawing.Printing.PrinterUnitConvert · assembly System.Drawing.Common
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Convert | Convert(p1,p2,p3) | static double Convert(double value, PrinterUnit fromUnit, PrinterUnit toUnit)static int Convert(int value, PrinterUnit fromUnit, PrinterUnit toUnit)static Point Convert(Point value, PrinterUnit fromUnit, PrinterUnit toUnit)static Size Convert(Size value, PrinterUnit fromUnit, PrinterUnit toUnit)static Rectangle Convert(Rectangle value, PrinterUnit fromUnit, PrinterUnit toUnit)static Margins Convert(Margins value, PrinterUnit fromUnit, PrinterUnit toUnit) |
PrintEventArgs class · extends CancelEventArgs
System.Drawing.Printing.PrintEventArgs · assembly System.Drawing.Common
Constructors
new PrintEventArgs() |
Ring: new PrintEventArgs(args) uses one constructor; the others are chosen by the parameter names: new PrintEventArgs().@New([ :param = value ]) or dnNew("PrintEventArgs",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
PrintAction | PrintAction | read | o.PrintAction |
Members of the base class are inherited.
PrintPageEventArgs class · extends EventArgs
System.Drawing.Printing.PrintPageEventArgs · assembly System.Drawing.Common
Constructors
new PrintPageEventArgs(Graphics graphics, Rectangle marginBounds, Rectangle pageBounds, PageSettings pageSettings) |
Ring: new PrintPageEventArgs(args) uses one constructor; the others are chosen by the parameter names: new PrintPageEventArgs().@New([ :param = value ]) or dnNew("PrintPageEventArgs",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Cancel | bool | read, write | o.Cancel o.Cancel = v |
Graphics | Graphics | read | o.Graphics |
HasMorePages | bool | read, write | o.HasMorePages o.HasMorePages = v |
MarginBounds | Rectangle | read | o.MarginBounds |
PageBounds | Rectangle | read | o.PageBounds |
PageSettings | PageSettings | read | o.PageSettings |
Members of the base class are inherited.
QueryPageSettingsEventArgs class · extends PrintEventArgs
System.Drawing.Printing.QueryPageSettingsEventArgs · assembly System.Drawing.Common
Constructors
new QueryPageSettingsEventArgs(PageSettings pageSettings) |
Ring: new QueryPageSettingsEventArgs(args) uses one constructor; the others are chosen by the parameter names: new QueryPageSettingsEventArgs().@New([ :param = value ]) or dnNew("QueryPageSettingsEventArgs",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
PageSettings | PageSettings | read, write | o.PageSettings o.PageSettings = v |
Members of the base class are inherited.
StandardPrintController class · extends PrintController
System.Drawing.Printing.StandardPrintController · assembly System.Drawing.Common
Constructors
new StandardPrintController() |
Ring: new StandardPrintController(args) uses one constructor; the others are chosen by the parameter names: new StandardPrintController().@New([ :param = value ]) or dnNew("StandardPrintController",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
OnEndPage | OnEndPage(p1,p2) | void OnEndPage(PrintDocument document, PrintPageEventArgs e) |
OnEndPrint | OnEndPrint(p1,p2) | void OnEndPrint(PrintDocument document, PrintEventArgs e) |
OnStartPage | callMethod("OnStartPage",[p1,p2]) | Graphics OnStartPage(PrintDocument document, PrintPageEventArgs e) |
OnStartPrint | OnStartPrint(p1,p2) | void OnStartPrint(PrintDocument document, PrintEventArgs e) |
Members of the base class are inherited.