Syncfusion.DocToPDFConverter.Base Get Curved Connector path formulaColl.Add("x2","*/ w adj1 100000"); formulaColl.Add("x1","+/ l x2 2"); formulaColl.Add("x3","+/ r x2 2"); formulaColl.Add("y3","*/ h 3 4"); This method is used to get the Curved connector 2 path. This method is used to call the Get Curved Connector 4 path. This method is used to get the curved connector5 path. Get Bent Connector path formulaColl.Add("x1","*/ w adj1 100000"); This method is used to get the bend connector 2 path. This method is used to get the bend connector 4 path. This method is used to get the bend connector 5 path. Gets Rounded Rectangle Path Gets Snip Single Corner Rectangle Path Gets Snip Same Side Corner Rectangle Path Gets Snip Diagonal Corner Rectangle Path Gets Snip And Round Single Corner Rectangle Path Gets Round Single Corner Rectangle Path Gets Round Same Side Corner Rectangle Path Gets Round Diagonal Corner Rectangle Path Get Triangle path Gets the right arrow path. Gets the left arrow path. Gets down arrow path. Gets the left right arrow path. Gets the curved right arrow path. Gets the curved left arrow path. Gets the curved up arrow path. Gets the curved down arrow path. Gets up down arrow path. Gets the quad arrow path. Gets the left right up arrow path. Gets the bent arrow path. Gets the U trun arrow path. Gets the left up arrow path. Gets the bent up arrow path. Gets the striped right arrow path. Gets the notched right arrow path. Gets the pentagon path. Gets the chevron path. Gets the right arrow callout path. Gets down arrow callout path. Gets the left arrow callout path. Gets up arrow callout path. Gets the left right arrow callout path. Gets the quad arrow callout path. Gets the circular arrow path. Gets the circular arrow path for SmartArt. Gets the math plus path. Gets the math minus path. Gets the math multiply path. Gets the math division path. Gets the math equal path. Gets the math not equal path. Gets the flow chart alternate process path. Gets the flow chart predefined process path. Gets the flow chart internal storage path. Gets the flow chart document path. Gets the flow chart multi document path. Gets the flow chart terminator path. Gets the flow chart preparation path. Gets the flow chart manual input path. Gets the flow chart manual operation path. Gets the flow chart connector path. Gets the flow chart off page connector path. Gets the flow chart card path. Gets the flow chart punched tape path. Gets the flow chart summing junction path. Gets the flow chart or path. Gets the flow chart collate path. Gets the flow chart sort path. Gets the flow chart extract path. Gets the flow chart merge path. Gets the flow chart online storage path. Gets the flow chart delay path. Gets the flow chart sequential access storage path. Gets the flow chart magnetic disk path. Gets the flow chart direct access storage path. Gets the flow chart display path. Gets the rectangular callout path. Gets the rounded rectangular callout path. Gets the oval callout path. Gets the cloud callout path. Gets the line callout1 path. Gets the line callout2 path. Gets the line callout3 path. Gets the line callout1 accent bar path. Gets the line callout2 accent bar path. Gets the line callout3 accent bar path. Gets the line callout1 no border path. Gets the line callout2 no border path. Gets the line callout3 no border path. Gets the line callout1 border and accent bar path. Gets the line callout2 border and accent bar path. Gets the line callout3 border and accent bar path. Gets the VML custom shape path path. Gets a custom shape (DrawingML) GraphicPath. Represent a bounds of custom shape. Represent a GraphicPath/PdfPath object. Represent a custom shape object. Returns a GraphicPath/PdfPath with custom shape drawing points. Gets a geometry path of Path2D. Represent a GraphicPath. Represent a input path elements. Represent a width of Path. Represent a height of Path. Represent a bounds of Path. Gets the funnel path for the specified shape. The PDF path for the funnel shape. Gets the swoosh arrow path for the specified shape. The PDF path for the swoosh arrow shape. Gets the left right ribbon path for the specified shape. The PDF path for the left right ribbon shape. Gets the left circular arrow path for the specified shape. The PDF path for the left circular arrow shape. Gets a X value of Path. Represent a width of Path. Represent a X value. Represent a bounds of Path. Returns a X value. Gets a Y value of Path. Represent a height of Path. Represent a Y value. Represent a bounds of Path. Returns a Y value. Convert the path element of custom shape Represent a path element to convert. Represent a converted path elements. Represent a formula collection. Represent a path object. Represent formula with its values. Gets a new GraphicsPath object. Returns a new GraphicsPath object. Get Path adjust value Parse Shape Formula Gets Formula Values Gets Operand Values Retrieves the formula dictionary for a specified SmartArt shape. The name of the shape A dictionary containing the formulas for the specified shape. Gets the default path adjustment values for a given shape type and shape name. The type of the shape The name of the shape for which path adjustments are being calculated. A dictionary containing the default path adjustment values for the shape. Represents the class which acts as an drawing context. The default script factor for sub/super script. The default factor values to fit the DinOffc font text into the corresponding font grid. /// The default font size. The default minimum font size for picture bullet. The default scale factor for picture bullet. Default RegEx checks object's options. Pattern for isSpaceOrTab. Whitespace regex. Drawing Graphics. Image Quality. PreserveFormFields. PdfFont collection This collection contains the Pdf fonts which are created by SubstitutedFont event streams. Drawing Graphics. Holds the list of hyperlinks and its corrsponding bounds. Used to skip a text highlighter between the comment ranges. Auto tag index Skips the bookmark add for all the textrange of paragraph. We have hold the underline style properties and bounds to draw a line. using this dictionary, we have draw the line after the text drawn. We have hold the Strike-Through properties and bounds to draw a line. using this dictionary, we have draw the line after the text drawn. Sets true if the balloon is getting rendered. Gets or sets a value that indicates whether to regenerate the nested EMF images present in the Word document during PDF conversion. Default value isfalse. True if it is necessary to regenerate the nested EMF images present in the Word document during PDF conversion; otherwise false. Clear the font cache. Gets or sets the PdfDocument. The PdfDocument. Get the Current Bookmark name Gets or sets the value indicates whether to export Word document heading as PDF bookmarks. Decides whether, we should enable PdfMetafile.ComplexScript property for current page. Gets or sets the graphics. The graphics. Gets or sets the ImageQuality. image quality Gets or sets the PreserveFormFields. PreserveFormFields Gets or sets the custom font collection. Gets or sets the custom font name collection. fontName Gets a Fallback font collection of Word document. Gets or set the embedded fonts. Gets or sets the graphics. The graphics. Gets the bitmap graphics. The graphics. Gets the hyperlinks. The hyperlinks. Gets the bookmark hyperlinks list. Gets the SmartArt bookmark hyperlinks list. Gets the bookmarks. Gets the overlapping shape widgets. The overlapping shape widgets. Gets the font metric. The font metric. Gets the string formt. The string formt. Gets or sets a value indicating whether to embed fonts to converted PDF in Word to PDF conversion. Gets or sets a value indicating whether to preserve the ole equation as bitmap in Word to PDF conversion. Gets or sets a value indicating whether to embed the complete font information in the resultant PDF document. Gets or sets a value indicates whether the converted PDF document is tagged or not. Remarks: Set this property as true, to preserve the accessible structure tags from Word document to the converted PDF. Using this property Word documents can be converted to PDF with 508 compliance. Setting this property as true will automatically enable EnableFastRendering property. Checks whether the balloon is getting rendered. Initializes a new instance of the PDFDrawingContext class. Initializes a new instance of the class. Initializes a new instance of the PDFDrawingContext class. The graphics. The page unit. The page unit. The page unit. Draws the Overlapping shape widgets. Currently handled only for Docx format documents Create pdf font and maintain it in the collection, To improve the performance Paragraph has a color which is mismatched from the next sibling paragraph color Create Auto tag. Creates Pdf structure element for headings and paragraph. The paragraph. The layouted widge. Gets the Pdf tag type enum value for heading style. The outline level of the heading style. Creates Pdf structure element for table, table row and table data. The lt widget. The owner widget. The cell widget. is OverlappedShape Draws the paragraph. The paragraph. The lt widget. Retrieves the corresponding PDF hatch style for a given pattern type from a document. An instance of representing the pattern style from the document. Returns a corresponding to the specified pattern type. Converts a given PatternType to a corresponding HatchStyle. The PatternType to be converted. The corresponding HatchStyle for the provided PatternType. Draws the text box. The text box. The lt widget. We have handle for rotated childshapes. clipbounds value return the clipbounds value Draw Bar Tab Stop of the paragraph Get bounds to draw a paragraph back ground color and texture styles Check whether Paragraph Containing list has break. ltWidget Get the base entity Get the text top position Represent the text Represent the font Represent the size Return the Text drawing y position Decides whether, we should update the tab position or not. The widget. Index of the entity. Updates the tab position. The widget. The client area. Updates the decimal tab position. The lt widget. The client area. Updates the decimal tab position in cell. The lt widget. The client area. Check whether we need to shift the position based on decimal tab. Determine whether is Decimal Tab Start Get Width To Shift the xposition of childwidget Determine whether the paragraph is in shape or textbox. Get the paragraph format for current tab The Paragraph Paragrph format Get Column Width The Paragraph Get Left width of the Decimal seperator Get Left width of the Decimal seperator The lt widget. The decimal tab start. The decimal tab end. Get Index of Decimal Separator Index denotes the TextRange which have a decimal separator Get Index of Decimal Separator Index denotes the TextRange which have a decimal separator The lt widget. The decimal tab start. The decimal tab end. Width of the left. The decimal separator. if set to true [is separator]. Determine whether is Decimal Separator Get Owner paragraph of the LayoutedWidget Gets the tab end index. Index denotes the item, previous of next subsequent tab. The lt widget. The start index. Returns the index of the last inline item in the layouted widget. The layouted widget The start index Get the current list size. Draws the list. Paragraph Layouted Widget List Format Draws the list tab leader. The paragraph. The paragraph info. Width of the list. The x position. The y position. Gets the tab leader. The paragraph info. Gets the ascet value for Equation field. Equation field Check whether the current lines contains the equation field and it contains the height of the corresponding line. Determines whether the paragraph is empty paragraph returns true if paragraph is empty Calculate a line points for the WCommentMark. Draw the WCommentMark. Draw AbsoluteTab Update AbsoluteTab leader Draws the Footnote separator The TXT range. The lt widget. Draws the Editable text range. The TXT range. The lt widget. Inverse the specified character with suitable bidi character Specify the input character Return the inversed character Determines whether the characters are inverses in the input text. Specify the input text Draws the text range. The TXT range. The lt widget. The text. Trim the space characters in the text. Check whether the widget is in field result or not. Hyper link field Widget. If the widget is in field result, return True;else false. Update Target position to the bookmark hyperlink Create Bookmark reference link Determine whether the tab stop is preserved after the text range in the current line Update Tab Width. Fill with dots for tab leader Font Current layouted widget Character format of layouted widget String format text Fill with sigle for tab leader Font Current layouted widget Character format of layouted widget String format text Fill with hyphens for tab leader Font Current layouted widget Character format of layouted widget String format text Fills with space Draws the Symbol Check whether the font is unicode font or not. Represent the font to check. Returns true, if the font is unicode font; Otherwise false. Draws the image. The image. The bounds. Applies color transformations to the specified image based on the provided settings, including grayscale, black-and-white, and duotone effects. The original image to which the color transformations will be applied. The BlipFormat instance containing the color and effect transformation settings. Indicates whether the image is a picture shape. Default is false. A new Image instance with the applied color transformations. Applies color transformations to an image in lower compatibility textbox based on the specified blip format settings. This includes grayscale, black-and-white effects. The original image to be recolored. The fillEffects object containing the color and effect transformations to apply. The transformed image with the applied effects. Creates color matrix. brightness contrast saturation Decides whether table is preserved inside text box or not. Table cell Indicates whether to check textbox only. Gets the bounding box of the rectangular bounds after rotation. Bounds Degree of rotation Bounding box of the rectangular bounds Calculates the minX, minY, maxX and maxY of the rotated bounds. Bounding box of a rectangular bounds Gets the rotation transformation matrix Bounds of the picture Rotation angle Transformation matrix Get matrix values of skia's matrix. SKia's matrix to get values from. Image matrix. Gets the PdfImage with image quality from image Image Gets the PdfImage with image quality from stream Memory stream Converts the ole object into bitmap when the image and object is of WMF and equation type respectively. Draw the InlineShapePicture Create the Pen to draw the picture border Get the color for the picture border Get the line cap for picture border Get LineJoin for picture border Get the Dash and line style for the picture shape Get the dash and line style for picture border Get the Dash style for the border Set the CropImageBounds if the image offset is negative Gets the position to crop the image Draws the equation field swtiches. Draws an Array EQ switch using their properties. Represents a script type A layouted array EQ switch. Represents a charFormat for array switch. Represents a for array EQ switch. Draws a radical switch and the radical symbol as a graphic path. Represents a script type. A layouted radical EQ switch. Represents a charFormat for radical switch elements. Draws the Editable DrawDropDownFormField. dropDownFormField The ltWidget. Align the layouted equation field switch based on the current y position. Layouted EQ field switches x position of layouted equation field switch Y position of layouted equation field switch Shift the eqaution field's x, y position based on the given x,y value. Layouted EQ field switches x position of layouted equation field switch Y position of layouted equation field switch Generates the error text for the equation field. Represents a equation field to generate. Represents a which set for equation field. Represents a X position of equation field. Represents a Y position of equation field. Shift the equation field's y position based on the given y value. Layouted EQ field switches Y position of layouted equation field switch Gets the top most Y position of layouted EQ fields. Layouted EQ field Minimum value of y position Draws the string. Represents a script type. The text. The char format. The para format. The bounds. The clipwidth. The layouted widget. Checks whether we need to render the text. Gets the background color bounds. Rotate a Graphics based on Shape Rotation. Specified the rotation angle. Specifies whether text needs to vertically flip. Specifies whether text needs to horizontally flip. Specifies whether the text need to rotate. Specifies the text wrapping style. Indicates whether the text need to scale or not. Indicates whether the line rotate transform is applied or not. Specifies the modified rotation angle. Check that previous or next sibling is tab in that line paragraph CharacterFormat textBounds LayoutedWidget isSameLine Calculate the Text Bounds Add the line to the Dictionary collection Add the line to the Dictionary collection Check that can we extend the previous Underline to the next text. Previous boundsRight Current boundsX Current CharacterFormat Previous CharacterFormat Compare the two float values. Value 1 value 2 Round off value Check that text having underline or strike through. TextRange Charformat Check whether the picture is having underline. Check that the Inline content control having the text range. Return true, if the InlineContentControl have text range; Else false. Checks whether the current widget is tab Get the text box widget of current widget. Reverse the string Draws the small cap string. scriptType characterRangeType. The text. The character format. The bounds. The font. The format. The text brush. if set to true [is character spacing]. Determine whether the text is need to clip when the text range y position is greater than the owner row bottom position Determine whether the text is need to clip when the text range x position is beyond the cell bounds or crossing the cell bounds Gets the index of the column. The section. The section bounds. Get Y position to clip paragraph items Get Default font to render non east characters Draw String based on CharacterSpacing Script Type Character Range Type Font style of current Layouted widget Text brush Layouted widget bounds Text string format character Format Draws a string based on expanded character spacing. The script type of the text. The font used for drawing the text. The bounds within which the text is drawn. The text to be drawn. The string format. The character format. Transform the graphics rendering positions based on rotation angle Current ltWidget set to true when the widget need to scale set to true when the widget rotate transform is applied Translation points Rotation angle OwnerParagraph Update the X and Y position X posiiton Y position Owner entity Layouted Widget Update the X and Y position when document has different page setup. Gets the height of the layouted text box content. The lt widget. Get Width to shift vertical text Get Bounds to clip the text Update clip bounds based on vertical cell Update clipping bounds based on owner clipping Get Height of the cell with text direction as vertical Draw Chinese Text Draw String method for Drawing the string without its width and height Checks whether the text is valid. (applicable for Arial text) Draw Unicode Text Draw unicode string Determines whether the owner paragraph is empty text true if owner paragraph is empty, set to true. Checks whether we need to scale the text while measuring Rotate and scale the graphics transform matrix Layoted widget bounds Clip bounds Scaling factor value Translation points Rotation angle Scale the graphics transform matrix. Scaling factor value Translation points Rotation angle Prepares a matrix to PDF. The matrix. The page scale value. A properly prepared PdfTransformationMatrix class instance. Draws the paragraph borders. the paragraph The paragraph format. The lt widget. isParagraphMarkIsHidden Draws the paragraph borders Collection of borders, contains the each border rendering order Border bounds Current paragraph borders Previous paragraph borders Paragraph Layouted widget Draws the horizontal border. The border rendering order. The bounds. The borders. The border. if set to true [is multi line left border]. if set to true [is multi line right border]. if set to true [is multi line horizontal border]. Width of the between border line. Width of the left border line. Width of the right border line. Paragraph Layouted widget Draws the left border. The border rendering order. The bounds. The borders. The border. The previous border. if set to true [is multi line top border]. if set to true [is multi line bottom border]. if set to true [is multi line left border]. if set to true [is multi line horizontal border]. Width of the left border line. Width of the top border line. Width of the between border line. Width of the bottom border line. Paragraph Layouted widget Draws the right border. The border rendering order. The bounds. The borders. The border. The previous border. if set to true [is multi line top border]. if set to true [is multi line horizontal border]. if set to true [is multi line right border]. if set to true [is multi line bottom border]. Width of the right border line. Width of the top border line. Width of the between border line. Width of the bottom border line. Paragraph Layouted widget Draws the top border. The border rendering order. The bounds. The borders. The border. if set to true [is multi line top border]. Width of the top border line. Width of the left border line. Width of the right border line. Draws the bottom border. The border rendering order. The bounds. The borders. The border. if set to true [is multi line bottom border]. Width of the left border line. Width of the bottom border line. Width of the right border line. Paragraph Layouted widget If paragraph inside Text box or shape have bottom border and that paragraph is the last element of textbox means Microsoft word will preserve the bottom border at the top of the bottom margin of text box or shape by subtracting the internal bottom margin spacing and the text box or shape line width. The spacing between the paragraph bottom border and textbox's or shape's bottom border Sort the borders based on brightness Border rendering order list Horizontal border Either left border/right border Current paragraph borders To ensure wether we need to remove left or right border Adds the next paragraph bounds. The layouted widget. The bounds. Draw the revision bars in the specified color and width Start point of the revision bar End point of the revision bar Color of the revision bar Width of the revision bar Draws the border. The border. The start. The end. Draws the border. The border. The start. The end. Draws the border. The border. The start. The end. Draws the table. The table. The lt widget. Gets the bottom cell spacing bounds. Gets the top cell spacing bounds. Gets the right cell spacing bounds. Gets the left cell spacing bounds. Get the cell bounds along with cell spacing. Fills the table background color for the given bounds. Draws the table row. The row. The lt widget. Draws the table cell. The cell. The lt widget. Fill the Cell Color The Layouted widget Checks the TextBox for Background picture. Draws the texture style. Gets the fore color. Gets the color value. The fore color value. The back color value. The percent. isForeColorEmpty isBackColorEmpty Fill Texture within the bounds Texture Style Fore Color Back Color Bounds Draws the cell borders. The cell. The lt widget. The previous cells top border width Draws the multi line left border. The cell layout information. The left border. The start. The end. if set to true [is first row]. if set to true [is last row]. if set to true [is first cell]. if set to true [is last cell]. Draws the double line left border. The cell layout information. The left border. The start. The end. if set to true [is first row]. if set to true [is last row]. if set to true [is first cell]. if set to true [is last cell]. Draws the multi line right border. The cell layout information. The right border. The start. The end. if set to true [is first row]. if set to true [is last row]. if set to true [is first cell]. if set to true [is last cell]. Draws the right double line border. The cell layout information. The right border. The start. The end. if set to true [is first row]. if set to true [is last row]. if set to true [is first cell]. if set to true [is last cell]. Draws the multi line bottom border. The cell layout information. The start. The end. isBiDiTable Draws the double line bottom border. The cell layout information. The start. The end. isBiDiTable Draws the multi line top border. The cell layout information. The top border. The start. The end. if set to true [is start]. if set to true [is end]. Draws the top double line border. The cell layout information. The top border. The start. The end. if set to true [is start]. if set to true [is end]. Determines whether the specified border is multiline border Type of the border. Determines whether [is multi line paragraph border] [the specified border type]. Type of the border. Gets the border line array. Type of the border. Width of the line. To identify whether current border is double line border or triple line border Current border which is need to be check Trueid the current border type is double border Draws the multi line left border. The left border. The start. The end. if set to true [is top border same]. if set to true [is between border same]. if set to true [is bottom border same]. Draws the double line left border. The left border. The start. The end. if set to true [is top border same]. if set to true [is between border same]. if set to true [is bottom border same]. Draws the triple line left border. The left border. The start. The end. if set to true [is top border same]. if set to true [is between border same]. if set to true [is bottom border same]. Draws the multi line right border. The right border. The start. The end. if set to true [is top border same]. if set to true [is between border same]. if set to true [is bottom border same]. Draws the double line right border. The right border. The start. The end. if set to true [is top border same]. if set to true [is between border same]. if set to true [is bottom border same]. Draws the triple line right border. The right border. The start. The end. if set to true [is top border same]. if set to true [is between border same]. if set to true [is bottom border same]. Draws the multi line top border. The top border. The start. The end. if set to true [is left border same]. if set to true [is right border same]. Draws the double line top border. The top border. The start. The end. if set to true [is left border same]. if set to true [is right border same]. Draws the triple line top border. The top border. The start. The end. if set to true [is left border same]. if set to true [is right border same]. Draws the multi line bottom border. The bottom border. The start. The end. if set to true [is left border same]. if set to true [is right border same]. Draws the double line bottom border. The bottom border. The start. The end. if set to true [is left border same]. if set to true [is right border same]. Draw the double line for the text. charFormat borderType lineWidth start point end point Draws the triple line bottom border. The bottom border. The start. The end. if set to true [is left border same]. if set to true [is right border same]. Draws the multi line between border. The between border. The start. The end. if set to true [is left border same]. if set to true [is right border same]. The left border. The right border. if set to true [is overlap left]. if set to true [is overlap right]. Draws the double line between border. The between border. The start. The end. if set to true [is left border same]. if set to true [is right border same]. The left border. The right border. if set to true [is overlap left]. if set to true [is overlap right]. Draws the triple line between border. The between border. The start. The end. if set to true [is left border same]. if set to true [is right border same]. The left border. The right border. if set to true [is overlap left]. if set to true [is overlap right]. Gets the adjacent border line width Left or right border line array true if we passing left border line array; otherwise false Draws the color of the background. Color of the bg. The width. The height. Draws the back ground image. The image. The page setup. Draws the Watermark Watermark Page setup Bounds Imlementation of Draw method of page. Currentl drawing page autoTagsCount Draws the page background using a gradient-filled texture brush. Generates a transparent PNG from the gradient and tiles it across the page. Gradient brush to render. Width of the page in points. Height of the page in points. Retrieves the list of previous line comment start marks and clears the current marks. Draws Markup triangles. Position to draw the triangle. Revision Color Checks the current watermark is empty watermark or not. Checks the HeaderFooter Paragraph and Table Weather WaterMark has to draw first Checks the paragraph weather watermark in Paragraph Checks the paragraph weather watermark in Table Checks which One has to draw first watermark or picture,shape,textbox Draw the splitWidgetContainer to PDF document or Image. Currentl split widget container Layouted widget Align the child widgets. The layouted widget. The paragraph. Imlementation of Draw method of IWidget interface . Draw widget to graphics. Draws the specified dc. Check whether the widget is need to drwa or not Draw the page border Page number Imlementation of Draw method of BookMark interface . Decides whether Clipping is necessary or not. Get text highlight color Check whether the paragrah contains Text range checks if the token is space or tab text Draw the Empty string with white space to preserve Tags. Imlementation of Draw method of LayoutedWidget interface . The Layouted widget. Is need to initialize layout info Iterate every child elements of the table and add the floating items into the OverLappedShapeWidgets collection Table layouted widget Check whether we need to clip the border of the nested table. Iterate the child elements of the paragraph Paragraph layouted widget Checks whether the child widget is floating item and add into the collection Child layouted widget Get space width at end of the line widget. Checks whether the paragraph line is RTL. Checks whether the paragraph line has text bidi. Check that Line item are drawn. LayoutedWidget Return true, if line items are drawn. Draw the Line Based in the collection. Contains the underline values Contains the strike through values Transform the graphics based on the rotation and scaling. The character format. Indicates whether the line need to scale or not. Indicates whether the line rotate transform is applied or not. Indicates whether the line need to set clip or not. Line widget. Gets the rotation values from the textbox, shapes(ChildShapes/GroupShapes). Specified the rotation angle. Specifies whether it is vertical flip. Specifies whether it is horizontally flip. Specifies whether the text need to rotate. Specifies the text wrapping style. Specifies the current textrange. Checks whether the underline width is need to change or not. Draw the underline style. Draw double underline style using compoundArray property Draw a wavy line using Bezier points represents the character properties of the text represents the bounds of the text represents the font of the text Returns the Object of PDFGraphics to draw the wavy line To-Do:- PdfPath.AddCurve() method is not supported in PDF library. So, only here we are using PdfPath.AddBezier() method to draw the wavy line Create the Pen to draw the Line for Underline and Strike through. charFormat lineWidth Return the Pen to draw the line. Checks whether clip bounds need to remove from container. Increase the bounds with the table paddings. Updates the clip bounds based on its owner clip bounds. Sets clipping for the particular region. Resets Graphics Transform positions. Scale the graphics with input X and Y scaling values. Specify the scaling factor of X. Specify the scaling factor of Y. Get the bounds based on the frame content. Draw the paragraph Draw a Comment highlighter for the line. Represents a layouted widget of line. Represents a WordDocument. Gets a KeyValuePair for the specified key from specified collection. Represents a input key to find. Represents a KVP colection. Returns a KeyValuePair for the specified key from specified collection. Check whether a KeyValuePair is available in specified collection for the specified key. Represents a input key to find. Represents a KVP colection. Returns a true, if KeyValuePair available in specified collection; Otherwise false. Draw a comment highlighter. Gets maximum height widget of line. Represent a layouted widget of line. Returns a LayoutedWidget, which has maximum height in line. Check whether any of line for current paragraph intersect with floating items. Current widget Whether this is line or line container Draw the back ground colour for current line. Current paragraph Current line widget Find the Back ground color rendering bounds. Check whether line preserved left or right or between floating items. Get the current child widget total bounds. Draw the split table widget Draw method for BlockContentControl Draw method for InlineContentControl Draw WCommentMark Draw AbsoluteTab Draw chart as image Draws chart Draw the Check box. Draw the Drop Down Form Field. Draw the Fields. Draw Ole Object. Draw the Picture. Draw the symbol. Draw the table. Gets the frames first item. Draw the table cell. Draw the table row. Draw the textbox. Draw the SmartArt. The SmartArt. The layouted widget. Draws the SmartArt. The SmartArt. The layouted widget. Add hyperlink in SmartArt Adds SmartArt bookmark hyperlinks to the . A list of dictionaries containing SmartArt bookmark names as keys and an object array as values. The object array typically contains details such as bounds, page number, and screen tip. Draw the text form field. Imlementation of Draw method of LayoutedWidget interface Draw the shape to PDF document or Image. Current shape entity Current shale layouted widget Draw the canvas to PDF document or Image. Current canvas entity Current canvas layouted widget Draws the canvas with its background, formatting, and child elements. The canvas to draw. The layouted widget representing the canvas. Draw the shape to PDF document or Image. Current shape entity Current shale layouted widget Draw the splitStringWidget SplitStringWidget Layouted split string widget Draw the text ranges. Draw widget to graphics. Draw widget to graphics. Get Cell Widget Gets the owner widget of the paragraph Get owner widget of the cell Determines whether the layouted widget is Overlapping Widget The lt widget. true if the layouted widget is Overlapping shape widget; otherwise, false. Update the positions of text watermark. TextWatermark Draw the text watermark. Convert the Watermark text as Bitmap Image. Change the given color brightness Draw border for the page Page setup object Header bounds Footer bounds Page bounds Gets the bounds to draw left border Page setup object Header bounds Footer bounds Page bounds Gets the bounds to draw right border Page setup object Header bounds Footer bounds Page bounds Gets the bounds to draw bottom border Page setup object Header bounds Footer bounds Page bounds Gets the bounds to draw top border Page setup object Header bounds Footer bounds Page bounds Gets the font size for Text Watermark Text Watermark Adjust the brightness and contrast of the picture. Represents a image that we need to gets a graphics. The image. Represents image Attributes if set to true [is picture watermark]. Draws the Picture Watermark Picture Watermark Bounds Page Setup Draws the Editable check box. The checkbox. The ltWidget. Draws the check box. The checkbox. The lt widget. Draws a fill pattern on the specified bounds using the given foreground and background colors. Specifies the pattern type to apply for the fill operation. The color used for the foreground of the pattern. The color used for the background of the pattern. Defines the rectangular area where the pattern fill is applied. The path that defines the shape to fill. It can be of type PdfPath, IGraphicsPath, or GraphicsPath depending on the compilation symbol. Draw picture fill Imagebytes Shapes path Layouted widget bounds Creates a configured with a gradient fill for the specified path, taking into account the desired shape rotation. The object that defines the shape to which the gradient will be applied. An instance of that specifies the gradient settings, such as colors and style. boolean value to define the shape transparency A object that can be used to render the specified path with the configured gradient fill. Creates a for rendering a linear gradient fill in a specified path, using defined colors, gradient fill settings, and path boundaries. A list of objects representing the colors to be used in the gradient. An instance of that describes the gradient style and settings. A structure defining the boundaries of the path to which the gradient will be applied. A object that specifies the positions and factors for blending the gradient colors. A object configured to render the path with the specified linear gradient fill. Creates a radial gradient brush for a rectangular shape based on the specified gradient fill properties. The gradient fill containing path gradient properties. The rectangular bounds where the gradient should be applied. The color blend information for the gradient. The list of colors to be used in the gradient. Returns with the specified gradient properties. Creates a radial gradient brush for a rectangular shape based on the specified gradient fill properties. The gradient fill containing path gradient properties. The rectangular bounds where the gradient should be applied. The color blend information for the gradient. The list of colors to be used in the gradient. Returns with the specified gradient properties. Creates a lower-compatible path gradient brush for rendering the gradient effect. The path properties used for the Shape. The tile properties used for the Shape. The background gradient properties used for the Textbox, PageBackground. true if a path gradient is applied; otherwise, false. Creates a lower-compatible path gradient brush for rendering the gradient effect. The path properties used for the Shape. The tile properties used for the Shape. The background gradient properties used for the Textbox, PageBackground. true if a path gradient is applied; otherwise, false. Creates a lower-compatible path gradient brush for rendering the gradient effect. The path properties used for the Shape. The tile properties used for the Shape. The background gradient properties used for the Textbox, PageBackground. true if a path gradient is applied; otherwise, false. Creates a lower-compatible path gradient brush for rendering the gradient effect. The path properties used for the Shape. The tile properties used for the Shape. The background gradient properties used for the Textbox, PageBackground. true if a path gradient is applied; otherwise, false. Creates a radial gradient brush for applying a gradient fill to a path. The gradient fill settings. The bounding rectangle of the path. The color blend defining gradient transitions. The list of colors used in the gradient. Returns with the specified gradient settings. Creates a radial gradient brush for a rectangular shape based on the specified gradient fill properties. The gradient fill settings containing path gradient properties. The rectangular bounds where the gradient should be applied. The color blend information defining the gradient transition. The list of colors used in the gradient. Returns based on the specified gradient properties. Scales the given rectangle by a specified factor while keeping it centered. The original rectangle to be scaled. The scaling factor to apply to the rectangle. Returns the updated dimensions and position. Creates a gradient brush for rendering a specified shape or background with appropriate gradient fill based on the type of element (Shape, WTextBoxFormat, or Page). The path that defines the shape to which the gradient will be applied. The object representing the shape, textbox, or page with gradient fill details. A configured gradient brush object for rendering the fill. Creates a lower-compatible linear gradient brush for rendering the gradient effect. The fill format gradient properties used for the Shape. The background gradient properties used for the Textbox, PageBackground. true if a path gradient is applied; otherwise, false. Creates a lower-compatible path gradient brush for rendering the gradient effect. The fill format gradient properties used for the Shape. The background gradient properties used for the Textbox, PageBackground. true if a path gradient is applied; otherwise, false. Creates a lower-compatible linear gradient brush for rendering the gradient effect. The gradient color list used for fallback colors. The bounding rectangle of the path to fill. Blend object that defines gradient stops and their respective colors. A configured linear gradient brush. Adds gradient colors and positions based on the focus and gradient source. Gradient focus direction (e.g., "100%", "50%", "-50%"). Gradient data from background settings. Gradient data from shape fill settings. Output list of colors. Output list of corresponding positions. Returns the gradient focus value based on the background gradient or fill format settings. The background gradient with shading style and variant. The fill format containing gradient fill and angle info. The focus value as a string ("100%", "50%", "-50%", or null). Creates a gradient brush based on the given path and background gradient settings. The shape path to apply the gradient. The gradient fill details. Returns a configured with gradient fill. Adds gradient colors and positions from the given background gradient based on focus. Gradient focus value (e.g., "100%", "-100%"). Background gradient with color stops. List to add computed colors. List to add normalized positions. Apply transparency for image Represents image Attributes Represents image transparency Convert the LineJoin as PdfLineJoin Convert the LineCap as PdfLineCap Draw child shape Rotate the shape based on Flip positions Measures the image. The image. Measures the picture bullet size Picture Font The size of picture bullet Measures the string. The text. The font. The format. Measures the string. The text. The font. The format. The character format. isMeasureFromTabList Gets the exact bounds of a string without an line spacing and top/bottom spacing values of font. Specify the input string. Specify the font to measure. Measures the string. The text. The font. The format. The character format. if set to true [is measure from tab list]. if set to true [is measure from small cap string]. Gets fall back font to preserve the text in converted PDF document. Represent original Pdf Font. Represent original System font. Represent a input text. Represent the scriptType of a input text. Represent PdfStringFormat. Returns a fall back font instance, if it has; otherwise returns original Pdf Font. Gets fall back font to preserve the text in converted PDF document. Represent original Pdf Font. Represent original System font. Represent a input text. Represent PdfStringFormat. Represent Substituted or embedded font stream. Returns a fall back font instance, if it has; otherwise returns original Pdf Font. Get fall back font from font substituted or embedded font stream. Represent a input text. Represent the fallback font name. Represent the fallback font instances. Represent substituted or embedded font stream. Returns a fallback font instance, if it exists in the substituted or embedded font stream collection; otherwise returns null. Check whether all the characters (glyphs) of input text is available in input font or not. Represent the input font to check. Represent the input text to check. Represent the PdfStringFormat. Returns true, if all input character glyphs are available in input font; Otherwise false. Get the factor. Represents a font name. Calculates the font size for subscript and superscript font. Represets a normal font to change as subscript and superscript size. Returns font size of subscript and superscript for corresponding inputed font. Get the Exceeded line height of the Arial unicode MS font. The font. isAscent. Measures the string. The text. The font. The default font The format. The Character format Measures the small cap string. The text. The size. The font. The format. The character format. Draw Unicode Text Gets the ascent The Font. Gets the descent The Font. Translate the specified matrix with offsetX and offsetY Represent the matrix to translate Represent the offsetX Represent the offsetY Represent the MatrixOrder to traslate Multiply the specified matrix with target matrix Represent the matrix to translate Represent the target matrix Represent the MatrixOrder to traslate Rotate the specified matrix with specified angle. Represent the angle to rotate the matrix Represent the center point to rotate a matrix Represent the MatrixOrder to traslate Gets a new GraphicsPath object. Returns a new GraphicsPath object. Gets a new Bitmap object with specified width and height. Represents a width of Bitmap. Represents a height of Bitmap. Returns a new Bitmap object with specified width and height. Gets a Graphics of with specified image. Represents a image that we need to gets a graphics. Returns a Graphics of with specified image. Gets a new SolidBrush object with specified color. Represents a color of SolidBrush. Returns a new SolidBrush object with specified color. Gets a new ColorMatrix object. Returns new ColorMatrix object. Gets a new ColorMatrix object with specified color matrix. Represents a color of matrix. Returns new ColorMatrix object with specified color matrix. Gets a new ImageAttributes object. Returns a new ImageAttributes object. Gets a new LinearGradientBrush object. Returns a new LinearGradientBrush object. Gets a new ColorBlend object. Returns a new ColorBlend object. Creates a new PathGradientBrush for the specified graphics path. The GraphicsPath for which the gradient brush is created. Returns a new PathGradientBrush instance. Draws the arrow head. The shape. The pen. The bounds. if set to true [is arrow head exist]. The path. The line points1. Draws the arrow head. The shape. The pen. The bounds. if set to true [is arrow head exist]. The path. The line points1. Draws the open end arrow head. The shape. The pen. The bounds. The line points. The end point. if set to true [is arrow head exist]. The path. Draws the close end arrow head. The shape. The pen. The bounds. The line points. The end point. if set to true [is arrow head exist]. The path. Draws the stealth end arrow head. The shape. The pen. The bounds. The line points. The end point. if set to true [is arrow head exist]. The path. Draws the close end arrow head. The shape. The pen. The bounds. The line points. The end point. if set to true [is arrow head exist]. The path. Draws the stealth end arrow head. The shape. The pen. The bounds. The line points. The end point. if set to true [is arrow head exist]. The path. Draws the open begin arrow head. The shape. The pen. The bounds. The line points. The end point. if set to true [is arrow head exist]. The path. Draws the open begin arrow head. The shape. The pen. The bounds. The line points. The end point. if set to true [is arrow head exist]. The path. Draws the close begin arrow head. The shape. The pen. The bounds. The line points. The end point. if set to true [is arrow head exist]. The path. Draws the close begin arrow head. The shape. The pen. The bounds. The line points. The end point. if set to true [is arrow head exist]. The path. Draws the stealth begin arrow head. The shape. The pen. The bounds. The line points. The end point. if set to true [is arrow head exist]. The path. Draws the stealth begin arrow head. The shape. The pen. The bounds. The line points. The end point. if set to true [is arrow head exist]. The path. Adds the close arrow head points. The points. The pen. Adds the stealth arrow head points. The points. The pen. Adds the open arrow head points. The points. The path. Gets the open arrow default values. The lineFormat. Width of the line. Length of the arrow. The arrow angle. The adjust value. if set to true [is from begin arrow]. Gets the close arrow default values. The shape lineFormat. Width of the line. Length of the arrow. The arrow angle. The adjust value. if set to true [is from begin arrow]. Gets the length of the arrow head. Gets the close narrow arrow default values. Length of the arrow head. Width of the line. Length of the arrow. The arrow angle. The adjust value. Gets the close medium arrow default values. Length of the arrow head. Width of the line. Length of the arrow. The arrow angle. The adjust value. Gets the close wide arrow default values. Length of the arrow head. Width of the line. Length of the arrow. The arrow angle. The adjust value. Gets the open narrow arrow default values. Length of the arrow head. Width of the line. Length of the arrow. The arrow angle. The adjust value. Gets the open medium arrow default values. Length of the arrow head. Width of the line. Length of the arrow. The arrow angle. The adjust value. Gets the open wide arrow default values. Length of the arrow head. Width of the line. Length of the arrow. The arrow angle. The adjust value. Finds the angle to left and right head point. The point1. The point2. Finds the angle to left and right head point. The shape. The point1. The point2. Finds the arrow head angle radians. The point1. The point2. if set to true [is from separate orientation]. Finds the base line end point. The line points. The adjust value. Gets the end point. if set to true [is from begin arrow]. The degree. The length. The adjust value. The line points. The x. The y. Finds the angle radians. The line points. if set to true [is from bottom to top]. Finds the end cap arrow head points. The shape. The pen. The bounds. The line points. if set to true [is from open arrow]. Finds the end cap arrow head points. The shape. The pen. The bounds. The line points. if set to true [is from open arrow]. Finds the left right head points. The line points. The points. The arrow angle. Length of the arrow. if set to true [is from begin arrow]. Construcs the baset line. if set to true [is from begin arrow]. The points. The line points. Gets the arrow default values. The line Format. The pen. Length of the arrow. The arrow angle. The adjust value. if set to true [is from begin arrow]. Radians to degree. The angle. Degree2s the radian. A. Gets the end point. The angle. The length. The start_x. The start_y. The end_x. The end_y. Gets the line points based on flip. The bounds. Determines whether the text range is soft hyphen and that need to be drawn. The lt widget. Gets the string format. The char format. Gets the brush. The color. Gets the pdf brush. The color. Gets the color of the text. The char format. Get the RevisionColor Revision color Get the RevisionColor Revision color Is revision type insert type Get the RevisionColor Revision color Is revision type insert type Get the RevisionColor to fill a comment balloon. Revision color Is revision type insert type Updates the alternate font for the font not installed in the system. The char format. Name of the font. The font. Checks the owner paragraph of the textrange is a TOC Text Range Determins whether the paragraph is TOC. Determines the the paragraph contians hyperlink field. To check the current text range is present inside the HyperLink. Check whether current text range is present inside the hyperlink field. Gets the font. The char format. Updates the font name and size based on the Bidi property. Character format of the current text range. Font applied to the current text. Font size applied to the current text. Font style applied to the current text. Returns current text range Bidi font. Gets the string alignment. The para format. Gets the pen. The border. Gets the pen. Type of the border. Width of the border line. Color of the border. Gets the pen. Type of the underline. Width of the underline. Color of the underline. Scales the image. The image. The width. The height. Adds link to the bookmark. The bounds. The bookmark name. The target is nothing. Determines whether a new hyperlink needs to be created. Creates bookmark hyperlink and add into list. Adds the hyper link to collection. The hyperlink. The bounds. Adds the hyper link to collection. The picture. The bounds. Updates the target bounds and page number for current bookmark. Bookmark hyperlink. Bookmark hyperlink value. Updates the TOC level. The paragraph. The bookmark. Updates Result index text the measurer res index bSplitByChar bIsInCell offset Client Width res Index Determine whether the character is CJK leading character A line of text cannot end with any leading characters, which are listed below Determine whether the character is Begin CJK character A line of text cannot begin with any following characters Determine whether the character is CJK overflow character Overflow characters are allowed to render in the same line when it doesn't have required client width to fit the character Get previous text range Get cell Width The paragraph item Concatenates the font name, style, font size and Unicode text and returns the key for PDFFontCollection. Font object to extract font name, font size and font style from. check whether it's unicode or not. Key for the PdfFontCollection dictionary to store and retreive the created PdfFont. Determines whether the text is unicode text true if text is unicode, set to true. Gets length of WORD. NOTE: - WORD: text run that finished by last space letter (sample: "text " or " "; wrong sample: " text" or "text text" ) EXCLUSION: - If text working part have zero symbols return (-1) - If text working part don't consist SPACE letters return legth of text working part Index of word first letter Length of found word Closes this instance. Gets the vertical border Gets / sets the horizontal border Draws the behind shape widgets. Get Order index of the floating item Get the line width of the picture border for Inline picture shape Get the line width of the picture border Gets or sets the bookmarkStyle. The bookmarkStyle. Gets or sets the bounds. The bounds. Gets or sets the page number. The page number. Gets or sets the name of the bookmark. The name of the bookmark. Initializes a new instance of the class. Name of the bookmark. The page number. The bounds. Sort the border rendering order based on its color brightness order Represents the class which drawing a Math Equations. Creates a class instance to render the WMath entity. Represent the Gets a class object for drawing. Draw the WMath instance. Represent the WMath instance to draw Represent the layouted widget of WMath instance Draw the IOfficeMath instance. Represent the layouted widget of OfficeMath instance Draw the delimiter character with required stretching. Specify the delimiter widget. Specify the required height to stretch. Specify the character format. Draw the Line used in MathML. Represent the layouted widget of a line. Draw the layouted string widget. Represent the string widget Represent the characterFormat Represent the scalingFactor Dispose a MathRenderer object. Gets or sets the cache for storing PDF TrueType fonts. Gets or sets the custom font collection. Gets or sets a value that indicates whether to regenerate the nested EMF images present in the word document during PDF conversion. Default value isfalse. True if it is necessary to regenerate the nested EMF images present in the word document during PDF conversion; otherwise false. Gets a Fallback font collection of Presentation document. Gets or set the embedded fonts. Reset Transform position for smart art Rotate Transform for smart art position Represents the angle. Translate the transform position Represents the dx. Represents the dy. Transform smart art position Represents the matrix. Renders an image from a memory stream onto a specified area of a graphical surface. The memory stream containing the image data to be rendered. The rectangular bounds that specify where on the surface the image will be drawn and its dimensions. Measures the size of the specified text string when drawn with the given font and string format. The text string to measure. The font applied to the text. The string formatting attributes to apply to the text. A SizeF structure containing the width and height of the text as drawn with the specified font and string format. Regenerate the nested EMF images if it present in the word document during PDF conversion. Check whether the image is a wmf image. Represent the input image to check. Returns true, if the image is wmf image; Otherwise false. Creates and add the structure element(Auto tag) for Paragragh auto tag Creates and add the structure element(Auto tag) for Section auto tag Creates and add the structure element(Auto tag) for Figure Creates and add the structure element(Auto tag) for List auto tag Creates and add the structure element(Auto tag) for List item and List body Removes the parent tag from the structure element stack Resets the PDF graphics tag Renders a bullet point for a given SmartArt paragraph, applying specified formatting styles and typography within the provided bounds. The SmartArt paragraph in which the bullet is to be drawn. The formatting details for the bullet, such as style and appearance. The font used for drawing text associated with the bullet, affecting its visual style. The rectangular area that defines the space allocated for rendering the bullet. The text capitalization style to apply to the bullet and associated text. Draws a solid Rectangle to the PDF with the given rectangle object Highlight color of the textpart Rectangle that has to be filled with the highlight color Renders the specified image onto the drawing surface within the given rectangular bounds. The image to be drawn. A that specifies the location and size for drawing the image. Draws a string at the specified location with specified font, brush, string format, and layout details. The text string to draw. The font used for drawing the text. The brush used to draw the text. The rectangle that specifies the bounds of the drawn text. The formatting attributes applied to the text. The amount of indent to be applied to the text position. The additional spacing to be applied after the text. The width of the area allocated to draw the text. Get an appropriate brush object based on the fill style of the given font. The OfficeShapeFont instance containing the fill information. The bounds within which the brush will be applied. A Brush object suitable for the specified fill style of the font. Draws a single shape onto the graphics context. The layouted office widget representing the shape to be drawn. The bounds within which the shape should be drawn. Draws a SmartArt format shape with the specified bounds, including filling and stroking paths. The instance representing the SmartArt shape to be drawn. The bounding rectangle defining the position and size of the shape. - The method first retrieves and processes the graphical paths of the SmartArt shape. - It fills the background of the shape using the specified fill format if required. - It then strokes the paths of the shape using a if applicable. - Custom geometry and additional path properties (e.g., stroke, fill mode) are handled based on the shape's configuration. - The method ensures proper handling of fill modes, custom geometries, and additional graphical paths. Draws a string for a particular SmartArt text part within specified bounds using a specified font and brush. The SmartArt text part associated with the text string to be drawn. The SmartArt paragraph to which the text belongs. The actual text string to be rendered. The font style and size to be applied when rendering the text. The brush object that determines the color and texture of the drawn text. The rectangle defining the bounds within which the text will be drawn. Gets a solid brush for a specified color. The color for which the solid brush is created. A SolidBrush object that is created using the specified color. Gets fall back font to preserve the text in converted PDF document. Represent original Pdf Font. Represent original System font. Represent a input text. Represent PdfStringFormat. Represent isEmbedFont. Represent isEmbedCompleteFont. Returns a fall back font instance, if it has; otherwise returns original Pdf Font. Check whether all the characters (glyphs) of input text is available in input font or not. Represent the input font to check. Represent the input text to check. Represent the PdfStringFormat. Returns true, if all input character glyphs are available in input font; Otherwise false. Inverse the specified character with suitable bidi character Specify the input character Return the inversed character Creates and returns a texture brush for a given image with specified transparency and fill options. The input image to be used for the texture brush. The transparency level for the texture brush (0 to 1). The texture fill options for the shape, including tiling or formatting details. The bounding rectangle for the shape that the texture applies to. The clipping path to define the texture brush boundaries. A object configured with the specified texture or null if no texture is applied. - If tiling options are provided, the method applies scaling and translation transformations based on the tile settings. - If the image dimensions are larger than the shape bounds, the method avoids resizing to preserve image quality. - The method ensures proper clipping and transparency settings while drawing the texture. Fills the background of an office shape based on the specified fill format. The office shape to which the background fill is applied. If the shape is null, a default background color is used. The representing the path of the shape to fill. The object that specifies the fill type and its corresponding settings. This method supports multiple fill types, including: : Fills the shape with a solid color. : Fills the shape with a texture or image. : Fills the shape with a gradient color based on gradient stops. : Clears the fill if the shape is null. Converts a given to its corresponding . The to be converted. A equivalent to the provided . Fills a solid background for the specified shape or path using the provided fill format. The object representing the shape to be filled. Pass null to apply the fill directly to the path. The object representing the path to be filled. The object containing the fill formatting details, such as the solid fill color. If the shape is not null, the method applies the solid fill color to the shape. If the shape is null, the fill is applied directly to the path. Fills a PDF path with a texture background using the specified texture fill configuration. This method handles different image formats, applies transparency, and ensures compatibility with specific frameworks (e.g., .NET Standard 14 and Azure compatibility). The object representing the path to be filled with the texture background. An object containing texture fill data, such as image bytes, image format, transparency, and cropping information. - Handles TIFF and Metafile image formats for specific cases. - Converts incompatible image formats (e.g., Metafile) to PNG for better compatibility. - Applies transparency settings from the texture fill object. - Utilizes cropping options to adjust the texture bounds if specified. - Ensures proper disposal of image and stream objects to prevent resource leaks. Creates a configured with a gradient fill for the specified path, taking into account the desired shape rotation. The object that defines the shape to which the gradient will be applied. An instance of that specifies the gradient settings, such as colors and style. A object that can be used to render the specified path with the configured gradient fill. Creates a radial gradient brush for applying a gradient fill to a specified path. The path to which the radial gradient should be applied. The gradient fill settings, including color and position details. The color blend information defining the gradient transitions. A list of colors used in the gradient fill. Returns a configured with the specified gradient settings. Scales the given rectangle by a specified factor while keeping it centered. The original rectangle to be scaled. The scaling factor to apply to the rectangle. Returns the updated dimensions and position. Creates a Pen object for the specified shape and line format. The shape for which the pen is being created. The line format which contains the styling details for the pen. The graphics path that the pen will be applied to. Returns a pen with the specified styling, or null if no pen is needed. Gets the preset geometry path for the specified shape. The bounds of the shape. The pen used to draw the shape. The graphics context used to draw the shape. The shape implementation. The geometry path for the specified shape. Sets the custom geometry for the specified shape. The string containing the path list in XML format. The shape implementation. Parses the 2D path elements from the XML reader and adds them to the specified shape. The XML reader to read the path elements from. The shape to which the path elements will be added. A dictionary of combined values used for parsing. Parses the 2D path elements from the XML reader and adds them to the specified path. The XML reader to read the path elements from. The path to which the elements will be added. A dictionary of combined values used for parsing. Parses the 2D path points from the XML reader and adds them to the specified path elements. The XML reader to read the path points from. The list of path elements to which the points will be added. A dictionary of combined values used for parsing. The path to which the elements will be added. A dictionary of calculated values used for parsing. Parses the path points from the XML reader and adds them to the specified path elements. The XML reader to read the path points from. The list of path elements to which the points will be added. A dictionary of combined values used for parsing. The path to which the elements will be added. A dictionary of calculated values used for parsing. Gets the custom geometry paths for the specified shape. The bounds of the shape. The shape implementation. An array of PdfPath objects representing the custom geometry paths for the shape. Calculates the Y-coordinate value for the geometry path based on the specified path height, Y value, and bounding rectangle. The height of the path. The Y-coordinate value to be converted. The bounding rectangle within which the path is drawn. The calculated Y-coordinate value within the bounds. Calculates the X-coordinate value for the geometry path based on the specified path width, X value, and bounding rectangle. The width of the path. The X-coordinate value to be converted. The bounding rectangle within which the path is drawn. The calculated X-coordinate value within the bounds. Generates the geometry path for the specified PdfPath object based on the provided path elements, dimensions, and bounds. The PdfPath object to which the geometry path will be added. The list of path elements defining the geometry. The width of the path. The height of the path. The bounding rectangle within which the path is drawn. Creates and returns the PDF structure element for the required AutoTag This class provides support for converting WordDocument into an PDF Document. This class is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. This example converts the specified Word Document in to PDF Document. //Loads an existing Word document WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); //Instantiation of DocToPDFConverter for Word to PDF conversion DocToPDFConverter converter = new DocToPDFConverter(); //Converts Word document into PDF document PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); //Saves the PDF file pdfDocument.Save("WordtoPDF.pdf"); //Releases all resources used by the object. converter.Dispose(); //Closes the instance of document objects pdfDocument.Close(true); wordDocument.Close(); 'Loads an existing Word document Dim wordDocument As New WordDocument("Template.docx", FormatType.Docx) 'Instantiation of DocToPDFConverter for Word to PDF conversion Dim converter As New DocToPDFConverter() 'Converts Word document into PDF document Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) 'Saves the PDF file pdfDocument.Save("WordtoPDF.pdf"); 'Releases all resources used by the object. converter.Dispose(); 'Closes the instance of document objects pdfDocument.Close(true); wordDocument.Close(); converter settings to the document The m_flag Gets the page settings. The page settings. Gets or sets the quality. This property is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. Gets a value indicating whether this conversion has been canceled. true if this conversion is canceled; otherwise, false. This method is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. Gets or sets a value indicating whether the PDF document was generated using web service. true if the PDF document was generated using web service; otherwise, false. Initializes a new instance of the class. This constructor is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. This example converts the specified Word Document in to PDF Document. //Loads an existing Word document WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); //Instantiation of DocToPDFConverter for Word to PDF conversion DocToPDFConverter converter = new DocToPDFConverter(); //Converts Word document into PDF document PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); //Saves the PDF file pdfDocument.Save("WordtoPDF.pdf"); //Releases all resources used by the object. converter.Dispose(); //Closes the instance of document objects pdfDocument.Close(true); wordDocument.Close(); 'Loads an existing Word document Dim wordDocument As New WordDocument("Template.docx", FormatType.Docx) 'Instantiation of DocToPDFConverter for Word to PDF conversion Dim converter As New DocToPDFConverter() 'Converts Word document into PDF document Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) 'Saves the PDF file pdfDocument.Save("WordtoPDF.pdf"); 'Releases all resources used by the object. converter.Dispose(); 'Closes the instance of document objects pdfDocument.Close(true); wordDocument.Close(); Release the resources occupied by this instance. Releases all resources used by the object. This method is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. This example converts the specified Word Document in to PDF Document. //Loads an existing Word document WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); //Instantiation of DocToPDFConverter for Word to PDF conversion DocToPDFConverter converter = new DocToPDFConverter(); //Converts Word document into PDF document PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); //Saves the PDF file pdfDocument.Save("WordtoPDF.pdf"); //Releases all resources used by the object. converter.Dispose(); //Closes the instance of document objects pdfDocument.Close(true); wordDocument.Close(); 'Loads an existing Word document Dim wordDocument As New WordDocument("Template.docx", FormatType.Docx) 'Instantiation of DocToPDFConverter for Word to PDF conversion Dim converter As New DocToPDFConverter() 'Converts Word document into PDF document Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) 'Saves the PDF file pdfDocument.Save("WordtoPDF.pdf"); 'Releases all resources used by the object. converter.Dispose(); 'Closes the instance of document objects pdfDocument.Close(true); wordDocument.Close(); Converts the specified WordDocument to PDF. The word document. The PdfDocument. This method is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. If running the application by hosting in Azure environment, is enabled automatically. This example converts the specified Word Document in to PDF Document. //Loads an existing Word document WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); //Instantiation of DocToPDFConverter for Word to PDF conversion DocToPDFConverter converter = new DocToPDFConverter(); //Converts Word document into PDF document PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); //Saves the PDF file pdfDocument.Save("WordtoPDF.pdf"); //Releases all resources used by the object. converter.Dispose(); //Closes the instance of document objects pdfDocument.Close(true); wordDocument.Close(); 'Loads an existing Word document Dim wordDocument As New WordDocument("Template.docx", FormatType.Docx) 'Instantiation of DocToPDFConverter for Word to PDF conversion Dim converter As New DocToPDFConverter() 'Converts Word document into PDF document Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) 'Saves the PDF file pdfDocument.Save("WordtoPDF.pdf"); 'Releases all resources used by the object. converter.Dispose(); 'Closes the instance of document objects pdfDocument.Close(true); wordDocument.Close(); Check and set balloon count for track changes. Embed the Document fonts in the private font collection. Gets the font name from the given stream. Check whether the font stream is valid ToDo : Need to implement similar method for Word to Image Stream from which font instance will be created. Convert ODTTF font stream to TTF font stream. ODTTF font stream TTF font stream embed font key Converts the specified WordDocument to PDF. Name of the file. The PdfDocument. This method is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. If running the application by hosting in Azure environment, is enabled automatically. This example converts the specified Word Document in to PDF Document. //Instantiation of DocToPDFConverter for Word to PDF conversion DocToPDFConverter converter = new DocToPDFConverter(); //Converts the specified WordDocument to PDF. PdfDocument pdfDocument = converter.ConvertToPDF("Template.docx"); //Saves the PDF file pdfDocument.Save("WordtoPDF.pdf"); //Releases all resources used by the object. converter.Dispose(); //Closes the instance of document objects pdfDocument.Close(true); 'Creates an instance of the DocToPDFConverter Dim converter As New DocToPDFConverter() for Word to PDF conversion 'Instantiation of DocToPDFConverter Dim pdfDocument As PdfDocument = converter.ConvertToPDF("Template.docx") 'Save the document in the given name and PDF format pdfDocument.Save("WordtoPDF.pdf"); 'Releases all resources used by the object. converter.Dispose(); 'Closes the instance of document objects pdfDocument.Close(true); Converts to PDF. The stream. The PdfDocument. This method is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. If running the application by hosting in Azure environment, is enabled automatically. This example converts the specified Word Document in to PDF Document. //Loads an existing Word document Stream fileStream = new FileStream("Template.docx", FileMode.Open, FileAccess.Read, FileShare.Read); //Instantiation of DocToPDFConverter for Word to PDF conversion DocToPDFConverter converter = new DocToPDFConverter(); //Converts the specified WordDocument to PDF. PdfDocument pdfDocument = converter.ConvertToPDF(fileStream); //Save the document in the given name and PDF format pdfDocument.Save("WordtoPDF.pdf"); //Releases all resources used by the object. converter.Dispose(); //Closes the instance of document objects fileStream.Close(); pdfDocument.Close(true); //Loads an existing Word document Dim fileStream As Stream = New FileStream("Template.docx", FileMode.Open, FileAccess.Read, FileShare.Read) 'Instantiation of DocToPDFConverter for Word to PDF conversion Dim converter As New DocToPDFConverter() 'Converts Word document into PDF document Dim pdfDocument As PdfDocument = converter.ConvertToPDF(fileStream) 'Save the document in the given name and PDF format pdfDocument.Save("WordtoPDF.pdf"); 'Releases all resources used by the object. converter.Dispose(); 'Closes the instance of document objects fileStream.Close(); pdfDocument.Close(true); Creates the PDF document. Adds the section. The page setup. Sets the pages settings. The layouter. Adds the document properties. The doc properties. Adds the hyper links. The hyperlinks. Scale the given rectangle bounds with specified scaling factor. Getting Parent Node for the levels of the Bookmarks Draw To PDF The DocumentLayouter PdfDocument Create temp font stream Actual font streams Temp font streams Draw To PDF The DocumentLayouter PdfDocument Adds SmartArt bookmark hyperlinks to the current PDF page based on the provided page index. The index of the current page where the hyperlink should be added. This method retrieves bookmark hyperlinks from the document and checks if they match any SmartArt bookmark hyperlinks. If a match is found, a PDF annotation is created and linked to the corresponding target bookmark. Shows the warnings. Create warning element names into the list Represents a class to get fallback fonts during Direct PDF conversion. Gets or sets a value indicating whether to embed fonts to converted PDF in Word to PDF conversion. Gets or sets a value indicating whether to embed the complete font information in the resultant PDF document. Gets fall back font to preserve the text in converted PDF document. Represent original font. Represent a input text. Represent the scriptType of a input text. Represent the character format of a input text. Represent the fallback fonts list. Represent the substituted or Embedded fonts collection. Returns fallback font if it has; otherwise returns original font. Represent class with setting of converter. This example illustrates DocToPDFConverter settings. This class is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. //Loads an existing Word document WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); //Instantiation of DocToPDFConverter for Word to PDF conversion DocToPDFConverter converter = new DocToPDFConverter(); //Skip the updating process for Alternate chunks in the Word document converter.Settings.EnableAlternateChunks = false; //Sets the image resolution converter.Settings.ImageResolution = 640; //Sets the jpeg image quality to reduce the Pdf file size converter.Settings.ImageQuality = 100; //Sets true to optimize the memory usage for identical image converter.Settings.OptimizeIdenticalImages = false; //Sets the PdfConformanceLevel converter.Settings.PdfConformanceLevel = PdfConformanceLevel.None; //Converts Word document into PDF document PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); //Closes the instance of Word document object wordDocument.Close(); //Saves the PDF file pdfDocument.Save("WordtoPDF.pdf"); //Releases the resources occupied by DocToPDFConverter instance converter.Dispose(); //Closes the instance of PDF document object pdfDocument.Close(true); 'Loads an existing Word document Dim wordDocument As WordDocument = New WordDocument("Template.docx", FormatType.Docx) 'Instantiation of DocToPDFConverter for Word to PDF conversion Dim converter As DocToPDFConverter = New DocToPDFConverter() 'Skip the updating process for Alternate chunks in the Word document converter.Settings.EnableAlternateChunks = False 'Sets the image resolution converter.Settings.ImageResolution = 640 'Sets the jpeg image quality to reduce the Pdf file size converter.Settings.ImageQuality = 100 'Sets true to optimize the memory usage for identical image converter.Settings.OptimizeIdenticalImages = False 'Sets the PdfConformanceLevel converter.Settings.PdfConformanceLevel = PdfConformanceLevel.None 'Converts Word document into PDF document Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) 'Closes the instance of Word document object wordDocument.Close() 'Saves the PDF file pdfDocument.Save("WordtoPDF.pdf") 'Releases the resources occupied by DocToPDFConverter instance converter.Dispose() 'Closes the instance of PDF document object pdfDocument.Close(True) Need to enable the Alternate chunks element Need to enable the direct PDF rendering Need to update the fields present in the document. Indicates the quality of the image. Indicates whether to preserve the Word document form fields as PDF document form fields Indicates the Image resolution The m_warning Gets or sets a value indicates to automatically detect the complex script text present in the Word document during PDF conversion. Default value is false. Trueif it is necessary to automatically detect the complex script text present in the Word document during PDF conversion; otherwise, false. Set this property to true, only if you have complex script text that is not marked as complex script type (CharacterFormat.ComplexScript is false) in the Word document. You can mark a text as complex script by enabling the WTextRange.CharacterFormat.ComplexScript property. Since automatic detection of complex script text involves validation of all the text in the document and may impact proportionally in Word to PDF conversion performance. This example illustrates AutoDetectComplexScript property of DocToPDFConverter settings. //Loads an existing Word document WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); //Instantiates DocToPDFConverter instance for Word to PDF conversion DocToPDFConverter converter = new DocToPDFConverter(); //Sets AutoDetectComplexScript property as true, to detect the complex scripts automatically converter.Settings.AutoDetectComplexScript = true; //Converts Word document into PDF document PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); //Closes the instance of Word document object wordDocument.Close(); //Saves the PDF file pdfDocument.Save("WordtoPDF.pdf"); //Releases the resources occupied by DocToPDFConverter instance converter.Dispose(); //Closes the instance of PDF document object pdfDocument.Close(true); 'Loads an existing Word document Dim wordDocument As WordDocument = New WordDocument("Template.docx", FormatType.Docx) 'Instantiates DocToPDFConverter instance for Word to PDF conversion Dim converter As DocToPDFConverter = New DocToPDFConverter() 'Sets AutoDetectComplexScript property as true, to detect the complex scripts automatically converter.Settings.AutoDetectComplexScript = True 'Converts Word document into PDF document Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) 'Closes the instance of Word document object wordDocument.Close() 'Saves the PDF file pdfDocument.Save("WordtoPDF.pdf") 'Releases the resources occupied by DocToPDFConverter instance converter.Dispose() 'Closes the instance of PDF document object pdfDocument.Close(True) Gets or sets a value that indicates whether to regenerate the nested Metafile images present in the Word document during PDF conversion. Default value isfalse. True if it is necessary to regenerate the nested Metafile images present in the Word document during PDF conversion; otherwise false. This example illustrates RecreateNestedMetafile property of DocToPDFConverter settings. //Loads an existing Word document WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); //Instantiates DocToPDFConverter instance for Word to PDF conversion DocToPDFConverter converter = new DocToPDFConverter(); //Sets RecreateNestedMetafile property to true to Recreate the Nested Metafile automatically converter.Settings.RecreateNestedMetafile = true; //Converts Word document into PDF document PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); //Closes the instance of Word document object wordDocument.Close(); //Saves the PDF file pdfDocument.Save("WordtoPDF.pdf"); //Releases the resources occupied by DocToPDFConverter instance converter.Dispose(); //Closes the instance of PDF document object pdfDocument.Close(true); 'Loads an existing Word document Dim wordDocument As WordDocument = New WordDocument("Template.docx", FormatType.Docx) 'Instantiates DocToPDFConverter instance for Word to PDF conversion Dim converter As DocToPDFConverter = New DocToPDFConverter() 'Sets RecreateNestedMetafile property to true to Recreate the Nested Metafile automatically converter.Settings.RecreateNestedMetafile = True 'Converts Word document into PDF document Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) 'Closes the instance of Word document object wordDocument.Close() 'Saves the PDF file pdfDocument.Save("WordtoPDF.pdf") 'Releases the resources occupied by DocToPDFConverter instance converter.Dispose() 'Closes the instance of PDF document object pdfDocument.Close(True) Gets or sets a value indicates to enable the Alternate chunks present in the Word document . Default value is True. True if need to enable the Alternate chunks; otherwise, false. This property is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. Gets or sets a value that indicates whether to convert PDF faster by using direct PDF rendering. The default value is true. True - If true, converts PDF faster by using the direct PDF rendering approach (default). Otherwise uses EMF rendering. Otherwise, false. PDF rendering – Directly renders a Word document to PDF. This is the default and recommended approach, offering faster and more efficient conversion. Available since the 2016 Volume 4 release.
EMF rendering – Converts a Word document to EMF and render the generated EMF to PDF during Word to PDF conversion. This is a legacy approach retained to maintain compatibility for earlier versions.
Gets or sets a value that indicates whether to preserve Word document form field as editable PDF form field.Default value isfalse. TrueIf True, converts Word document form field as editable PDF form field in Word to PDF conversion. Otherwise editable form field will be preserved as text in Word to PDF conversion false. //Loads an existing Word document WordDocument wordDocument = new WordDocument(@"TemplateFormFields.docx"); //Instantiates DocToPDFConverter instance for Word to PDF conversion DocToPDFConverter converter = new DocToPDFConverter(); //Sets to preserve the Word document form field as editable PDF form field in PDF document. converter.Settings.PreserveFormFields = true; //Converts Word document into PDF document PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); //Releases the resources occupied by DocToPDFConverter instance converter.Dispose(); //Closes the instance of Word document object wordDocument.Close(); //Saves the PDF file pdfDocument.Save("WordtoPDF.pdf"); //Closes the instance of PDF document object pdfDocument.Close(true); 'Loads an existing Word document Dim wordDocument As WordDocument = New WordDocument(@"TemplateFormFields.docx") 'Instantiates DocToPDFConverter instance for Word to PDF conversion Dim converter As DocToPDFConverter = New DocToPDFConverter() 'Sets to preserve the Word document form field as editable PDF form field in PDF document. converter.Settings.PreserveFormFields = True 'Converts Word document into PDF document Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) 'Releases the resources occupied by DocToPDFConverter instance converter.Dispose() 'Closes the instance of Word document object wordDocument.Close() 'Saves the PDF file pdfDocument.Save("WordtoPDF.pdf") 'Closes the instance of PDF document object pdfDocument.Close(True) Gets or sets a value that indicates whether to update fields present in the Word document while converting a Word document to PDF.Default value is false. True If true, updates the fields present in the Word document during Word to PDF conversion. otherwise, false. This API is alternative for UpdateDocumentFields() to improve performance, if your requirement is to update the fields and convert the Word document to PDF. You can remove UpdateDocumentFields() method and enable UpdateDocumentFields property to update the Word document fields and convert the Word document to PDF in optimized way. The following code example demonstrates how to update the fields present while performing Word to PDF conversion. //Loads an existing Word document WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); //Instantiates DocToPDFConverter instance for Word to PDF conversion DocToPDFConverter converter = new DocToPDFConverter(); //Updates the fields present in Word document converter.Settings.UpdateDocumentFields = true; //Converts Word document into PDF document PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); //Closes the instance of Word document object wordDocument.Close(); //Saves the PDF file pdfDocument.Save("WordtoPDF.pdf"); //Releases the resources occupied by DocToPDFConverter instance converter.Dispose(); //Closes the instance of PDF document object pdfDocument.Close(true); 'Loads an existing Word document Dim wordDocument As WordDocument = New WordDocument("Template.docx", FormatType.Docx) 'Instantiates DocToPDFConverter instance for Word to PDF conversion Dim converter As DocToPDFConverter = New DocToPDFConverter() 'Updates the fields present in Word document converter.Settings.UpdateDocumentFields = True 'Converts Word document into PDF document Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) 'Closes the instance of Word document object wordDocument.Close() 'Saves the PDF file pdfDocument.Save("WordtoPDF.pdf") 'Releases the resources occupied by DocToPDFConverter instance converter.Dispose() 'Closes the instance of PDF document object pdfDocument.Close(True) Gets or sets the quality. The value indicates in percentage, max value represents best quality and min value represents best compression. The value indicates in percentage, max value represents best quality and min value represents best compression This property is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. Sets the image resolution to the image, which are Embedded in the Word document This property is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. Gets/Sets a value indicating whether to optimize the memory usage for the identical (duplicate) images in Doc to Pdf conversion and converted Pdf document. This property is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. Gets or sets the warning that describes the unsupported elements found while converting the specified Word document to PDF. The warning. This property is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. Gets or sets the Pdf document's Conformance-level. The of the PDF document. This property is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. Gets or sets a value indicating whether to embed fonts in the converted PDF document. Default value is false True: if need to embed fonts in the converted PDF document; otherwise, False. This property is supported to embed TrueType fonts only. This property is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. This example illustrates EmbedFonts property of DocToPDFConverter settings. //Loads an existing Word document WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); //Instantiates DocToPDFConverter instance for Word to PDF conversion DocToPDFConverter converter = new DocToPDFConverter(); //Sets EmbedFonts property as true, to embed fonts in resultant PDF converter.Settings.EmbedFonts = true; //Converts Word document into PDF document PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); //Closes the instance of Word document object wordDocument.Close(); //Saves the PDF file pdfDocument.Save("WordtoPDF.pdf"); //Releases the resources occupied by DocToPDFConverter instance converter.Dispose(); //Closes the instance of PDF document object pdfDocument.Close(true); 'Loads an existing Word document Dim wordDocument As WordDocument = New WordDocument("Template.docx", FormatType.Docx) 'Instantiates DocToPDFConverter instance for Word to PDF conversion Dim converter As DocToPDFConverter = New DocToPDFConverter() 'Sets EmbedFonts property as true, to embed fonts in resultant PDF converter.Settings.EmbedFonts = True 'Converts Word document into PDF document Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) 'Closes the instance of Word document object wordDocument.Close() 'Saves the PDF file pdfDocument.Save("WordtoPDF.pdf") 'Releases the resources occupied by DocToPDFConverter instance converter.Dispose() 'Closes the instance of PDF document object pdfDocument.Close(True) Gets or sets a value indicating whether to preserve ole equation as bitmap while converting a Word document ot PDF. Default value is false True: if need to preserve the ole equation as bitmap; otherwise, False. This example illustrates PreserveOleEquationAsBitmap of DocToPDFConverter settings. //Loads an existing Word document WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); //Instantiates DocToPDFConverter instance for Word to PDF conversion DocToPDFConverter converter = new DocToPDFConverter(); //Sets PreserveOleEquationAsBitmap property as true, to preserve the ole equation as bitmap in resultant PDF converter.Settings.PreserveOleEquationAsBitmap = true; //Converts Word document into PDF document PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); //Closes the instance of Word document object wordDocument.Close(); //Saves the PDF file pdfDocument.Save("WordtoPDF.pdf"); //Releases the resources occupied by DocToPDFConverter instance converter.Dispose(); //Closes the instance of PDF document object pdfDocument.Close(true); 'Loads an existing Word document Dim wordDocument As WordDocument = New WordDocument("Template.docx", FormatType.Docx) 'Instantiates DocToPDFConverter instance for Word to PDF conversion Dim converter As DocToPDFConverter = New DocToPDFConverter() 'Sets PreserveOleEquationAsBitmap property as true, to preserve the ole equation as bitmap in resultant PDF converter.Settings.PreserveOleEquationAsBitmap = True 'Converts Word document into PDF document Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) 'Closes the instance of Word document object wordDocument.Close() 'Saves the PDF file pdfDocument.Save("WordtoPDF.pdf") 'Releases the resources occupied by DocToPDFConverter instance converter.Dispose() 'Closes the instance of PDF document object pdfDocument.Close(True) Gets or sets a value indicating whether to embed the complete font information in the converted PDF document. Default value is false True: if need to embed the complete font information in the converted PDF document; otherwise, False. This property is used to indicate whether the complete font information of the characters in the resultant PDF document to embedded or not. This property is supported to embed TrueType fonts only. This property is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. This example illustrates EmbedCompleteFonts property of DocToPDFConverter settings. //Loads an existing Word document WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); //Instantiates DocToPDFConverter instance for Word to PDF conversion DocToPDFConverter converter = new DocToPDFConverter(); //Sets the embed complete font information in converted PDF converter.Settings.EmbedCompleteFonts = true; //Converts Word document into PDF document PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); //Closes the instance of Word document object wordDocument.Close(); //Saves the PDF file pdfDocument.Save("WordtoPDF.pdf"); //Releases the resources occupied by DocToPDFConverter instance converter.Dispose(); //Closes the instance of PDF document object pdfDocument.Close(true); 'Loads an existing Word document Dim wordDocument As WordDocument = New WordDocument("Template.docx", FormatType.Docx) 'Instantiates DocToPDFConverter instance for Word to PDF conversion Dim converter As DocToPDFConverter = New DocToPDFConverter() 'Sets the embed complete font information in converted PDF converter.Settings.EmbedCompleteFonts = True 'Converts Word document into PDF document Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) 'Closes the instance of Word document object wordDocument.Close() 'Saves the PDF file pdfDocument.Save("WordtoPDF.pdf") 'Releases the resources occupied by DocToPDFConverter instance converter.Dispose() 'Closes the instance of PDF document object pdfDocument.Close(True) Gets or sets a value indicates whether the converted PDF document is tagged or not. Default value is false True: if need to preserve the accessible structure tags from Word document to the converted PDF; otherwise, False. Set this property as true, to preserve the accessible structure tags from Word document to the converted PDF. Using this property Word documents can be converted to PDF with 508 compliance. Setting this property as true will automatically enable property . This property will set the title and description for images, diagrams and other objects in the generated PDF document. This information is useful for people with vision or cognitive impairments who may not able to see or understand the object This property is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. This property is only applicable while converting the Word document as PDF document. This example illustrates how to convert an Word document to PDF with AutoTag property. //Loads an existing Word document WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); //Instantiates DocToPDFConverter instance for Word to PDF conversion DocToPDFConverter converter = new DocToPDFConverter(); //Sets the accessible structure tags in converted PDF converter.Settings.AutoTag = true; //Converts Word document into PDF document PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); //Closes the instance of Word document object wordDocument.Close(); //Releases the resources occupied by DocToPDFConverter instance converter.Dispose(); //Saves the PDF file pdfDocument.Save("WordtoPDF.pdf"); //Closes the instance of PDF document object pdfDocument.Close(true); 'Loads an existing Word document Dim wordDocument As WordDocument = New WordDocument("Template.docx", FormatType.Docx) 'Instantiates DocToPDFConverter instance for Word to PDF conversion Dim converter As DocToPDFConverter = New DocToPDFConverter() 'Sets the accessible structure tags in converted PDF converter.Settings.AutoTag = True 'Converts Word document into PDF document Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) 'Closes the instance of Word document object wordDocument.Close() 'Releases the resources occupied by DocToPDFConverter instance converter.Dispose() 'Saves the PDF file pdfDocument.Save("WordtoPDF.pdf") 'Closes the instance of PDF document object pdfDocument.Close(True) Gets or sets a value indicates whether to export Word document headings or bookmarks as PDF bookmarks while performing Word to PDF conversion. Default value is ExportBookmarkType.Bookmarks The member specifies whether Word headings or bookmarks need to be considered in Word to PDF conversion. The will consider only headings within the main document and text boxes not within headers, footers, endnotes, footnotes, or comments. This property is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. This property is only applicable while converting the Word document as PDF document. This example illustrates how to convert an Word document headings to PDF Bookmarks with the help of ExportBookmark property. //Creates a new Word document WordDocument wordDocument = new WordDocument(); //Add a section into the word document IWSection section = wordDocument.AddSection(); //Add a paragraph into the section IWParagraph paragraph = section.AddParagraph(); //Add a text into the paragraph paragraph.AppendText("First Chapter1"); //Apply style for the text paragraph.ApplyStyle(BuiltinStyle.Heading1); paragraph.AppendText("First Chapter2"); paragraph.ApplyStyle(BuiltinStyle.Heading2); paragraph.AppendText("First Chapter3"); paragraph.ApplyStyle(BuiltinStyle.Heading3); //Instantiates DocToPDFConverter instance for Word to PDF conversion DocToPDFConverter converter = new DocToPDFConverter(); //Sets ExportBookmarks for preserving Word document headings as PDF bookmarks converter.Settings.ExportBookmarks = Syncfusion.DocIO.ExportBookmarkType.Headings; //Converts Word document into PDF document PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); //Closes the instance of Word document object wordDocument.Close(); //Releases the resources occupied by DocToPDFConverter instance converter.Dispose(); //Saves the PDF file pdfDocument.Save("WordtoPDF.pdf"); //Closes the instance of PDF document object pdfDocument.Close(true); 'creates a new Word document Dim wordDocument As WordDocument = New WordDocument() 'Add a section into the word document Dim section As IWSection = wordDocument.AddSection() 'Add a paragraph into the section Dim paragraph As IWParagraph = section.AddParagraph(); 'Add a text into the paragraph paragraph.AppendText("First Chapter1"); 'Apply style for the text paragraph.ApplyStyle(BuiltinStyle.Heading1); paragraph.AppendText("First Chapter2"); paragraph.ApplyStyle(BuiltinStyle.Heading2); paragraph.AppendText("First Chapter3"); paragraph.ApplyStyle(BuiltinStyle.Heading3); 'Instantiates DocToPDFConverter instance for Word to PDF conversion Dim converter As DocToPDFConverter = New DocToPDFConverter() 'Sets ExportBookmarks for preserving Word document headings as PDF bookmarks converter.Settings.ExportBookmarks = Syncfusion.DocIO.ExportBookmarkType.Headings 'Converts Word document into PDF document Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) 'Closes the instance of Word document object wordDocument.Close() 'Releases the resources occupied by DocToPDFConverter instance converter.Dispose() 'Saves the PDF file pdfDocument.Save("WordtoPDF.pdf") 'Closes the instance of PDF document object pdfDocument.Close(True)