Search Results for

    Show / Hide Table of Contents

    Class SizeUnitsP

    Defines the constants used to convert between RDL Size and pixels.

    Inheritance
    System.Object
    SizeUnitsP
    Namespace: FastReport.Import.RDL
    Assembly: FastReport.Base.dll
    Syntax
    public static class SizeUnitsP
    Remarks

    To convert pixels to inches, use the code:

    inches = pixels / SizeUnitsP.Inch;

    To convert inches to pixels, use the code:

    pixels = inches * SizeUnitsP.Inch;

    Fields

    Centimeter

    The number of pixels in one centimeter.

    Declaration
    public static float Centimeter
    Field Value
    Type Description
    System.Single

    Inch

    The number of pixels in one inch.

    Declaration
    public static float Inch
    Field Value
    Type Description
    System.Single

    Millimeter

    The number of pixels in one millimeter.

    Declaration
    public static float Millimeter
    Field Value
    Type Description
    System.Single

    Pica

    The number of pixels in one pica.

    Declaration
    public static float Pica
    Field Value
    Type Description
    System.Single

    Point

    The number of pixels in one point.

    Declaration
    public static float Point
    Field Value
    Type Description
    System.Single
    Back to top © 1998-2025 Copyright Fast Reports Inc.