SpreadJS 13
GC.Spread.Sheets.Print Namespace / PaperSize type / getPageSize Method
The kind of the paper.
In This Topic
    getPageSize Method
    In This Topic
    Gets the paper size, in hundredths of an inch.
    Syntax
    var instance = new GC.Spread.Sheets.Print.PaperSize(widthOrKind, height);
    var value; // Type: Object
    value = instance.getPageSize(kind);
    function getPageSize( 
       kind : PaperKind
    ) : Object;

    Parameters

    kind
    The kind of the paper.

    Return Value

    The size which contains width and height of the paper.
    size.width {number} The width of the size, in hundredths of an inch.
    size.height {number} The height of the size, in hundredths of an inch.
    See Also

    Reference

    PaperSize type