Custom Method | Explanation |
---|---|
Arc | Draws an arc |
Chord | Draws a chord |
ClearProperty | Resets the properties in the print control |
DrawFocusRect | Draws a rectangle in the style used to indicate that the rectangle has the focus. |
DrawString | Uses GDI+ to draw text on the designated object |
DrawText | Draws text within a rectangular area |
Ellipse | Draws an ellipse |
EnumPaperBins | Retrieves the paper tray names and tray numbers from the printer |
EnumPaperSizes | Retrieves the names, size numbers, and dimensions of the paper from the printer |
EnumPorts | Retrieves a list of ports |
EnumPrinters | Retrieves a list of all installed printers |
EnumResolutions | Retrieves a list of supported resolutions for the printer |
FillRect | Draws a rectangle and fills it with the specified color |
FrameRect | Draws the border of the specified rectangle |
GetArrayNum | Retrieves the number of elements in the array that will be returned when a supported item is retrieved from the printer |
GetDefaultPrinter | Retrieves the default printer |
GetDevModeHandle | Retrieves the handle of the DEVMODE structure from the specifed printer |
GetDevModeInfo | Retrieves various printer information from the handle of the DEVMODE structure |
GetImageFromHdc | Retrieves the image from the device context. (hDC) |
GetPaperSize | Retrieves the printing range, height, and width for the designated printer |
GetPixel | Retrieves the RGB values from a specified pixel |
GetPrinterPort | Retrieves the printer port |
GetTextExtent | Retrieves the height and width of the specified text |
ImageOut | Draws an image in the device context (hDC) |
ImageOutToHwnd | Draws an image in the window handle (hWnd) |
Line | Draws a straight line |
MeasureString | Uses GDI+ to retrieve the height and width of text from text information |
MeasureStringVariant | Uses GDI+ to retrieve the height and width of text from text information (for scripting and other languages that require variant types) |
Paint | Paints one color with a different color |
Pie | Draws a pie shape |
PolyBezier | Draws a bezier curve |
Polygon | Draws a polygon |
Polyline | Draws a polyline |
PreviewInit | Sets the resolution for the printing preview |
PrintAbortDoc | Terminates the current print job |
PrintCreateDC | Creates the device context of the printer |
PrintDeleteDC | Deletes the device context of the printer |
PrintDialog | Displays the Print dialog and creates a device context |
PrintEndDoc | Ends the print job |
PrintEndPage | Ends the printing of a page |
PrintStartDoc | Starts the print job |
PrintStartPage | Starts the printing of a page. |
Rectangle | Draws a rectangle |
ReleaseDevModeHandle | Frees the handle of the DEVMODE structure |
RoundRect | Draws a rounded rectangle |
SaveDevModeHandle | Saves the handle to the DEVMODE structure into the file specified by the PrintFileName property |
SavePrinterInfo | Saves the settings entered in the "Print Setup" dialog |
SetDefaultPrinter | Sets the default printer |
SetDevModeInfo | Sets the printer information into the handle of the DEVMODE structure. |
SetPixel | Sets the RGB values in the specified pixel |
TextOut | Draws the text from a given starting point |