Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PointsConverter

    Show / Hide Table of Contents

    Class PointsConverter

    Provides functions for unit conversions.

    Inheritance
    System.Object
    PointsConverter
    Namespace: Syncfusion.DocIO.DLS
    Assembly: Syncfusion.DocIO.Portable.dll
    Syntax
    public sealed class PointsConverter : Object

    Constructors

    PointsConverter()

    Declaration
    public PointsConverter()

    Methods

    FromCm(Single)

    Converts centimeter to points.

    Declaration
    public static float FromCm(float centimeter)
    Parameters
    Type Name Description
    System.Single centimeter

    The float that represents the value in centimeter.

    Returns
    Type Description
    System.Single

    The float that specifies the value in points.

    FromInch(Single)

    Converts inch to points.

    Declaration
    public static float FromInch(float inch)
    Parameters
    Type Name Description
    System.Single inch

    The float that represents the value in inch.

    Returns
    Type Description
    System.Single

    The float that specifies the value in points.

    FromPixel(Single)

    Converts pixel to points.

    Declaration
    public static float FromPixel(float px)
    Parameters
    Type Name Description
    System.Single px

    The float that represents the value in pixel.

    Returns
    Type Description
    System.Single

    The float that specifies the value in points.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved