menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PageSizeControl - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PageSizeControl

    Page size control

    Inheritance
    System.Object
    PageSizeControl
    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public class PageSizeControl : UserControl

    Constructors

    PageSizeControl()

    Initializes a new instance of the PageSizeControl class.

    Declaration
    public PageSizeControl()

    Fields

    comboPageSizePaper

    Declaration
    public ComboBox comboPageSizePaper
    Field Value
    Type
    System.Windows.Forms.ComboBox

    comboPageSizeStandart

    Declaration
    public ComboBox comboPageSizeStandart
    Field Value
    Type
    System.Windows.Forms.ComboBox

    rdPageSizeCustomSize

    Declaration
    public RadioButton rdPageSizeCustomSize
    Field Value
    Type
    System.Windows.Forms.RadioButton

    rdPageSizeLandscape

    Declaration
    public RadioButton rdPageSizeLandscape
    Field Value
    Type
    System.Windows.Forms.RadioButton

    rdPageSizePortrait

    Declaration
    public RadioButton rdPageSizePortrait
    Field Value
    Type
    System.Windows.Forms.RadioButton

    rdPageSizePreDefinedSize

    Declaration
    public RadioButton rdPageSizePreDefinedSize
    Field Value
    Type
    System.Windows.Forms.RadioButton

    rdPageSizeSameAsPrinterSize

    Declaration
    public RadioButton rdPageSizeSameAsPrinterSize
    Field Value
    Type
    System.Windows.Forms.RadioButton

    rdPageSizeToFitDrawingContent

    Declaration
    public RadioButton rdPageSizeToFitDrawingContent
    Field Value
    Type
    System.Windows.Forms.RadioButton

    txtPageSizeCustomHeight

    Declaration
    public MeasureTextBox txtPageSizeCustomHeight
    Field Value
    Type
    MeasureTextBox

    txtPageSizeCustomWidth

    Declaration
    public MeasureTextBox txtPageSizeCustomWidth
    Field Value
    Type
    MeasureTextBox

    Properties

    ModelContentSize

    Gets or sets the size of content of the model.

    Declaration
    public SizeF ModelContentSize { get; set; }
    Property Value
    Type Description
    System.Drawing.SizeF

    The content of the model.

    PageLandscape

    Gets or sets a value indicating whether page landscape is checked.

    Declaration
    public bool PageLandscape { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if page landscape is checked; otherwise, false.

    PageSize

    Gets or sets the size of the page.

    Declaration
    public PageSize PageSize { get; set; }
    Property Value
    Type Description
    PageSize

    The size of the page.

    PrinterSettings

    Gets or sets the printer settings property to change paper layout and preview the diagram appearances in the print paper.

    Declaration
    public PageSettings PrinterSettings { get; set; }
    Property Value
    Type Description
    System.Drawing.Printing.PageSettings

    The printer settings.

    Methods

    Dispose(Boolean)

    Clean up any resources being used.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    true if managed resources should be disposed; otherwise, false.

    Events

    PageSizeChanged

    Occurs when page size is changed.

    Declaration
    public event EventHandler PageSizeChanged
    Event Type
    Type
    System.EventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved