Skip to main content

Api

Represents the Api class.

Methods

MethodReturnsDescription
CentimetersToPointsnumberConverts centimeters to points.
CreateBlipFillApiFillCreates a blip fill to apply to the object using the selected image as the object background.
CreateBulletApiBulletCreates a bullet for a paragraph with the character or symbol specified with the sSymbol parameter.
CreateCaretAnnotApiCaretAnnotationCreates caret annotation.
CreateChartApiChartCreates a chart with the parameters specified.
CreateCheckboxFieldApiCheckboxFieldCreates a checkbox field.
CreateCircleAnnotApiCircleAnnotationCreates circle annotation.
CreateComboboxFieldApiComboboxFieldCreates a combobox field.
CreateCustomGeometryApiGeometryCreates a new custom geometry.
CreateDateFieldApiTextFieldCreates a text date field.
CreateFreeTextAnnotApiFreeTextAnnotationCreates freeText annotation.
CreateGradientStopApiGradientStopCreates a gradient stop used for different types of gradients.
CreateHighlightAnnotApiHighlightAnnotationCreates highlight annotation.
CreateImageApiImageCreates an image with the parameters specified.
CreateImageFieldApiButtonFieldCreates a image field.
CreateInkAnnotApiInkAnnotationCreates ink annotation.
CreateLineAnnotApiLineAnnotationCreates line annotation.
CreateLinearGradientFillApiFillCreates a linear gradient fill to apply to the object using the selected linear gradient as the object background.
CreateListboxFieldApiListboxFieldCreates a listbox field.
CreateNoFillApiFillCreates no fill and removes the fill from the element.
CreateNumberingApiBulletCreates a bullet for a paragraph with the numbering character or symbol specified with the numType parameter.
CreateParagraphApiParagraphCreates a new paragraph.
CreatePatternFillApiFillCreates a pattern fill to apply to the object using the selected pattern as the object background.
CreatePolyLineAnnotApiPolyLineAnnotationCreates polyline annotation.
CreatePolygonAnnotApiPolygonAnnotationCreates polygon annotation.
CreatePresetColorApiPresetColorCreates a color selecting it from one of the available color presets.
CreatePresetGeometryApiGeometry | nullCreates a geometry using one of the available preset shapes.
CreateRGBColorApiRGBColorCreates an RGB color setting the appropriate values for the red, green and blue color components.
CreateRadialGradientFillApiFillCreates a radial gradient fill to apply to the object using the selected radial gradient as the object background.
CreateRadiobuttonFieldApiRadiobuttonFieldCreates a radiobutton field.
CreateRedactAnnotApiRedactAnnotationCreates redact annotation.
CreateRichParaPrApiParaPrCreates the empty rich paragraph properties.
CreateRichParagraphApiRichParagraphCreates a new rich paragraph.
CreateRichRunApiRichRunCreates a new rich run.
CreateRichTextPrApiTextPrCreates the empty rich text properties.
CreateRunApiRunCreates a new smaller text block to be inserted to the current paragraph or table.
CreateSchemeColorApiSchemeColorCreates a complex color scheme selecting from one of the available schemes.
CreateShapeApiShapeCreates a shape with the parameters specified.
CreateSolidFillApiFillCreates a solid fill to apply to the object using a selected solid color as the object background.
CreateSquareAnnotApiSquareAnnotationCreates square annotation.
CreateStampAnnotApiStampAnnotationCreates stamp annotation.
CreateStrikeoutAnnotApiStrikeoutAnnotationCreates strikeout annotation.
CreateStrokeApiStrokeCreates a stroke adding shadows to the element.
CreateTableApiTableCreates a table.
CreateTextAnnotApiTextAnnotationCreates text annotation.
CreateTextFieldApiTextFieldCreates a text field.
CreateTextPrApiTextPrCreates the empty text properties.
CreateUnderlineAnnotApiUnderlineAnnotationCreates underline annotation.
EmusToMillimetersmmConverts English measure units (EMU) to millimeters.
EmusToPointsnumberConverts EMUs (English Metric Units) to points.
GetDocumentApiDocumentCreates a text field with the specified text field properties.
GetFullNamestringReturns the full name of the currently opened file.
HexColorApiColorCreates a color from a HEX string.
InchesToPointsnumberConverts inches to points.
LinesToPointsnumberConverts lines to points (1 line = 12 points).
MillimetersToEmusEMUConverts millimeters to English Metric Units (EMUs). The result is an integer value.
MillimetersToPixelsnumberConverts millimeters to pixels.
MillimetersToPointsnumberConverts millimeters to points.
PicasToPointsnumberConverts picas to points.
PixelsToEmusnumberConverts pixels to EMUs (English Metric Units).
PixelsToPointsnumberConverts pixels to points.
PointsToCentimetersnumberConverts points to centimeters.
PointsToEmusnumberConverts points to EMUs (English Metric Units).
PointsToInchesnumberConverts points to inches.
PointsToLinesnumberConverts points to lines (1 line = 12 points).
PointsToMillimetersnumberConverts points to millimeters.
PointsToPicasnumberConverts points to picas (1 pica = 12 points).
PointsToPixelsnumberConverts points to pixels.
PointsToTwipsnumberConverts points to twips.
RGBApiColorCreates an RGB color from red, green and blue components.
RGBAApiColorCreates an RGBA color from red, green, blue and alpha components.
ThemeColorApiColorCreates a theme color.
TwipsToPointsnumberConverts twips to points.