PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / RenderGraphics Class / GraphicsSizeEqualToObjectSize Property

In This Topic
    GraphicsSizeEqualToObjectSize Property (RenderGraphics)
    In This Topic
    Gets or sets value indicating whether size of RenderGraphics.Graphics object managed by this RenderGraphics same as RenderGraphics size. Set this property to true if you want to create image with exact sizes. If this property is true then RenderObject.Width and RenderObject.Height should be specified as absolute values (10mm, 1inch for example). RenderGraphics.GraphicsSizeEqualToObjectSize should be specified as true and RenderObject.Width and RenderObject.Height should be specified in absolute units before accessing to RenderGraphics.Graphics property.
    Syntax
    'Declaration
     
    Public Property GraphicsSizeEqualToObjectSize As Boolean
    public bool GraphicsSizeEqualToObjectSize {get; set;}
    See Also