Click or drag to resize

TextWidgetAnnotationGenerateAutoFontSize Method

Calculates the font size used for auto-sized fonts.

Namespace:  Atalasoft.PdfDoc.Generating.Annotations
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public static double GenerateAutoFontSize(
	PdfTextAppearance pdfTextAppearance,
	PdfFontResource pdfFontResource,
	string text,
	PdfBounds pdfBounds
)

Parameters

pdfTextAppearance
Type: Atalasoft.PdfDoc.Generating.RenderingPdfTextAppearance
pdfFontResource
Type: Atalasoft.PdfDoc.Generating.ResourceHandling.FontsPdfFontResource
text
Type: SystemString
pdfBounds
Type: Atalasoft.PdfDoc.GeometryPdfBounds

Return Value

Type: Double

[Missing <returns> documentation for "M:Atalasoft.PdfDoc.Generating.Annotations.TextWidgetAnnotation.GenerateAutoFontSize(Atalasoft.PdfDoc.Generating.Rendering.PdfTextAppearance,Atalasoft.PdfDoc.Generating.ResourceHandling.Fonts.PdfFontResource,System.String,Atalasoft.PdfDoc.Geometry.PdfBounds)"]

See Also