HPdf.HPdfPage.Rectangle C# (CSharp) Méthode

Rectangle() public méthode

public Rectangle ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
Résultat void
        public void Rectangle(float x, float y, float width, float height)
        {
            HPDF_Page_Rectangle(hpage, x, y, width, height);
        }

Usage Example

Exemple #1
0
    private static void DrawRect(HPdfPage page, float x, float y, string label)
    {
        page.BeginText();
        page.MoveTextPos(x, y - 10);
        page.ShowText(label);
        page.EndText();

        page.Rectangle(x, y - 40, 220, 25);
    }
All Usage Examples Of HPdf.HPdfPage::Rectangle
HPdfPage