PDFFont Structure

Represent a font

Definition

Namespace: PCBI_API_Extensions.PDF
Assembly: PCBI.API_Library (in PCBI.API_Library.dll) Version: 17.0.0.0 (17.0.0.0)
C#
public struct PDFFont
Inheritance
Object    ValueType    PDFFont

Constructors

PDFFont Create a new font

Methods

GetFont(ListValueTupleRectangleD, String, PDFPage, MatrixD) Calculate the font that fits inside all rectangles for all fonts given (smallest font). Standard font used is Courier New
GetFont(ValueTupleRectangleD, String, PDFPage, MatrixD) Calculate the font for a certain text to fit inside both the width and height of a rectangle.
GetFonts Retourns the font based on the area of the given rectangle, meaning uniform font for reactangle of the same area (mainly used for multi pin components, where there is for example a pad under the component thats way bigger than any other pin)

Fields

Name Name of the font
Size Size of the font in pt

See Also