Show / Hide Table of Contents

    Method mtex

    | Improve this Doc View Source

    mtex(String, Double, Double, Double, String)

    plmtex: Write text relative to viewport boundaries

    Declaration
    public void mtex(string side, Double disp, Double pos, Double just, string text)
    Parameters
    Type Name Description
    System.String side

    One string from Side.

    Double disp

    Position of the reference point of string, measured outwards from the specified viewport edge in units of the current character height. Use negative disp to write within the viewport.

    Double pos

    Position of the reference point of string along the specified edge, expressed as a fraction of the length of the edge.

    Double just

    Specifies the position of the string relative to its reference point. If just=0. , the reference point is at the left and if just=1. , it is at the right of the string. Other values of just give intermediate justifications.

    System.String text

    A UTF-8 character string to be written out.

    Remarks

    Writes text at a specified position relative to the viewport boundaries. Text may be written inside or outside the viewport, but is clipped at the subpage boundaries. The reference point of a string lies along a line passing through the string at half the height of a capital letter. The position of the reference point along this line is determined by just, and the position of the reference point relative to the viewport is set by disp and pos.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX