menu

WinForms

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

    Show / Hide Table of Contents

    Class PageSize

    Use for configure virtual document size without any scaling.

    Inheritance
    System.Object
    MeasureSize
    PageSize
    Implements
    System.ICloneable
    IServiceReferenceHolder
    IPropertyContainer
    IPropertyObserver
    System.Runtime.Serialization.ISerializable
    Inherited Members
    MeasureSize.DisplayName
    MeasureSize.FullContainerName
    MeasureSize.GetObjectData(SerializationInfo, StreamingContext)
    MeasureSize.GetPropertyContainerByName(String)
    MeasureSize.GetSize(MeasureUnits)
    MeasureSize.HistoryService
    MeasureSize.m_propertyObserver
    MeasureSize.OnPropertyChanged(String)
    MeasureSize.OnPropertyChanged(String, String)
    MeasureSize.OnPropertyChanging(String, Object)
    MeasureSize.OnPropertyChanging(String, String, Object)
    MeasureSize.Owner
    MeasureSize.PixelHeight
    MeasureSize.PixelWidth
    MeasureSize.PropertyObserber
    MeasureSize.RecordPropertyChanged(String)
    MeasureSize.SetSize(Single, Single, MeasureUnits)
    MeasureSize.ToString()
    MeasureSize.UpdateServiceReferences(IServiceReferenceProvider)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public class PageSize : MeasureSize, ICloneable, IServiceReferenceHolder, IPropertyContainer, IPropertyObserver, ISerializable

    Constructors

    PageSize()

    Initializes a new instance of the PageSize class.

    Declaration
    public PageSize()

    PageSize(PageSize)

    Initializes a new instance of the PageSize class.

    Declaration
    public PageSize(PageSize src)
    Parameters
    Type Name Description
    PageSize src

    The SRC.

    PageSize(SerializationInfo, StreamingContext)

    Initializes a new instance of the PageSize class.

    Declaration
    public PageSize(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The info.

    System.Runtime.Serialization.StreamingContext context

    The context.

    PageSize(Single, MeasureUnits, Single, MeasureUnits)

    Initializes a new instance of the PageSize class.

    Declaration
    public PageSize(float width, MeasureUnits widthUnit, float height, MeasureUnits heightUnit)
    Parameters
    Type Name Description
    System.Single width

    The width.

    MeasureUnits widthUnit

    The width unit.

    System.Single height

    The height.

    MeasureUnits heightUnit

    The height unit.

    PageSize(Single, Single)

    Initializes a new instance of the PageSize class.

    Declaration
    public PageSize(float width, float height)
    Parameters
    Type Name Description
    System.Single width

    The width.

    System.Single height

    The height.

    PageSize(String, Single, MeasureUnits, Single, MeasureUnits)

    Initializes a new instance of the PageSize class.

    Declaration
    public PageSize(string name, float width, MeasureUnits widthUnit, float height, MeasureUnits heightUnit)
    Parameters
    Type Name Description
    System.String name

    The name.

    System.Single width

    The width.

    MeasureUnits widthUnit

    The width unit.

    System.Single height

    The height.

    MeasureUnits heightUnit

    The height unit.

    PageSize(String, Single, Single)

    Initializes a new instance of the PageSize class.

    Declaration
    public PageSize(string name, float width, float height)
    Parameters
    Type Name Description
    System.String name

    The name.

    System.Single width

    The width.

    System.Single height

    The height.

    Properties

    Height

    Gets or sets the height.

    Declaration
    public float Height { get; set; }
    Property Value
    Type Description
    System.Single

    The height.

    HeightMeasureUnit

    Gets or sets the height measure unit.

    Declaration
    public MeasureUnits HeightMeasureUnit { get; set; }
    Property Value
    Type Description
    MeasureUnits

    The height measure unit.

    Width

    Gets or sets the width.

    Declaration
    public float Width { get; set; }
    Property Value
    Type Description
    System.Single

    The width.

    WidthMeasureUnit

    Gets or sets the width measure unit.

    Declaration
    public MeasureUnits WidthMeasureUnit { get; set; }
    Property Value
    Type Description
    MeasureUnits

    The width measure unit.

    Methods

    Clone()

    Creates a new object that is a copy of the current instance.

    Declaration
    public override object Clone()
    Returns
    Type Description
    System.Object

    A new object that is a copy of this instance.

    Overrides
    MeasureSize.Clone()

    Implements

    System.ICloneable
    IServiceReferenceHolder
    IPropertyContainer
    IPropertyObserver
    System.Runtime.Serialization.ISerializable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved