Class XGraphicsExtensions
- Namespace
- PdfSharp.UniversalAccessibility.Drawing
- Assembly
- PdfSharp.dll
PDF/UA extensions.
public static class XGraphicsExtensions
- Inheritance
-
XGraphicsExtensions
- Inherited Members
Methods
DrawAbbreviation(XGraphics, string, string, XFont, XBrush, XPoint)
Extension for DrawAbbreviation with a Span PDF Inline Level Element tag.
public static void DrawAbbreviation(this XGraphics gfx, string abbreviation, string expandedText, XFont font, XBrush brush, XPoint point)
Parameters
DrawAbbreviation(XGraphics, string, string, XFont, XBrush, XPoint, XStringFormat)
Extension for DrawAbbreviation with a Span PDF Inline Level Element tag.
public static void DrawAbbreviation(this XGraphics gfx, string abbreviation, string expandedText, XFont font, XBrush brush, XPoint point, XStringFormat format)
Parameters
gfx
XGraphicsabbreviation
stringexpandedText
stringfont
XFontbrush
XBrushpoint
XPointformat
XStringFormat
DrawAbbreviation(XGraphics, string, string, XFont, XBrush, double, double)
Extension for DrawAbbreviation with a Span PDF Inline Level Element tag.
public static void DrawAbbreviation(this XGraphics gfx, string abbreviation, string expandedText, XFont font, XBrush brush, double x, double y)
Parameters
DrawAbbreviation(XGraphics, string, string, XFont, XBrush, double, double, XStringFormat)
Extension for DrawAbbreviation with a Span PDF Inline Level Element tag.
public static void DrawAbbreviation(this XGraphics gfx, string abbreviation, string expandedText, XFont font, XBrush brush, double x, double y, XStringFormat format)
Parameters
gfx
XGraphicsabbreviation
stringexpandedText
stringfont
XFontbrush
XBrushx
doubley
doubleformat
XStringFormat
DrawAbbreviation(XGraphics, string, string, XFont, XBrush, double, double, XStringFormat, PdfInlineLevelElementTag)
Extension for DrawAbbreviation with a PDF Inline Level Element tag.
public static void DrawAbbreviation(this XGraphics gfx, string abbreviation, string expandedText, XFont font, XBrush brush, double x, double y, XStringFormat format, PdfInlineLevelElementTag tag)
Parameters
gfx
XGraphicsabbreviation
stringexpandedText
stringfont
XFontbrush
XBrushx
doubley
doubleformat
XStringFormattag
PdfInlineLevelElementTag
DrawImage(XGraphics, XImage, XPoint, double, double, string)
Extension for DrawImage with an alternative text.
public static void DrawImage(this XGraphics gfx, XImage image, XPoint point, double width, double height, string altText)
Parameters
DrawImage(XGraphics, XImage, XPoint, double, double, string, XRect)
Extension for DrawImage with an alternative text.
public static void DrawImage(this XGraphics gfx, XImage image, XPoint point, double width, double height, string altText, XRect boundingBox)
Parameters
DrawImage(XGraphics, XImage, XPoint, string)
Extension for DrawImage with an alternative text.
public static void DrawImage(this XGraphics gfx, XImage image, XPoint point, string altText)
Parameters
DrawImage(XGraphics, XImage, XPoint, string, XRect)
Extension for DrawImage with an alternative text.
public static void DrawImage(this XGraphics gfx, XImage image, XPoint point, string altText, XRect boundingBox)
Parameters
DrawImage(XGraphics, XImage, XRect, string)
Extension for DrawImage with an alternative text.
public static void DrawImage(this XGraphics gfx, XImage image, XRect rect, string altText)
Parameters
DrawImage(XGraphics, XImage, XRect, string, XRect)
Extension for DrawImage with an alternative text.
public static void DrawImage(this XGraphics gfx, XImage image, XRect rect, string altText, XRect boundingBox)
Parameters
DrawImage(XGraphics, XImage, double, double, double, double, string)
Extension for DrawImage with an alternative text.
public static void DrawImage(this XGraphics gfx, XImage image, double x, double y, double width, double height, string altText)
Parameters
DrawImage(XGraphics, XImage, double, double, double, double, string, XRect)
Extension for DrawImage with an alternative text.
public static void DrawImage(this XGraphics gfx, XImage image, double x, double y, double width, double height, string altText, XRect boundingBox)
Parameters
gfx
XGraphicsimage
XImagex
doubley
doublewidth
doubleheight
doublealtText
stringboundingBox
XRect
DrawImage(XGraphics, XImage, double, double, string)
Extension for DrawImage with an alternative text.
public static void DrawImage(this XGraphics gfx, XImage image, double x, double y, string altText)
Parameters
DrawImage(XGraphics, XImage, double, double, string, XRect)
Extension for DrawImage with an alternative text.
public static void DrawImage(this XGraphics gfx, XImage image, double x, double y, string altText, XRect boundingBox)
Parameters
DrawLink(XGraphics, string, XFont, XBrush, XPoint, XStringFormat, PdfLinkAnnotation, string)
Extension for DrawLink with an alternative text.
public static void DrawLink(this XGraphics gfx, string s, XFont font, XBrush brush, XPoint point, XStringFormat format, PdfLinkAnnotation linkAnnotation, string altText)
Parameters
gfx
XGraphicss
stringfont
XFontbrush
XBrushpoint
XPointformat
XStringFormatlinkAnnotation
PdfLinkAnnotationaltText
string
DrawLink(XGraphics, string, XFont, XBrush, XPoint, PdfLinkAnnotation, string)
Extension for DrawLink with an alternative text.
public static void DrawLink(this XGraphics gfx, string s, XFont font, XBrush brush, XPoint point, PdfLinkAnnotation linkAnnotation, string altText)
Parameters
gfx
XGraphicss
stringfont
XFontbrush
XBrushpoint
XPointlinkAnnotation
PdfLinkAnnotationaltText
string
DrawLink(XGraphics, string, XFont, XBrush, double, double, XStringFormat, PdfLinkAnnotation, string)
Extension for DrawLink with an alternative text.
public static void DrawLink(this XGraphics gfx, string s, XFont font, XBrush brush, double x, double y, XStringFormat format, PdfLinkAnnotation linkAnnotation, string altText)
Parameters
gfx
XGraphicss
stringfont
XFontbrush
XBrushx
doubley
doubleformat
XStringFormatlinkAnnotation
PdfLinkAnnotationaltText
string
DrawLink(XGraphics, string, XFont, XBrush, double, double, PdfLinkAnnotation, string)
Extension for DrawLink with an alternative text.
public static void DrawLink(this XGraphics gfx, string s, XFont font, XBrush brush, double x, double y, PdfLinkAnnotation linkAnnotation, string altText)
Parameters
gfx
XGraphicss
stringfont
XFontbrush
XBrushx
doubley
doublelinkAnnotation
PdfLinkAnnotationaltText
string
DrawListItem(XGraphics, string, string, XFont, XBrush, XPoint, double)
Extension draws a list item with PDF Block Level Element tags.
public static void DrawListItem(this XGraphics gfx, string label, string text, XFont font, XBrush brush, XPoint point, double labelWidth)
Parameters
DrawListItem(XGraphics, string, string, XFont, XBrush, XPoint, double, XStringFormat)
Extension draws a list item with PDF Block Level Element tags.
public static void DrawListItem(this XGraphics gfx, string label, string text, XFont font, XBrush brush, XPoint point, double labelWidth, XStringFormat format)
Parameters
gfx
XGraphicslabel
stringtext
stringfont
XFontbrush
XBrushpoint
XPointlabelWidth
doubleformat
XStringFormat
DrawListItem(XGraphics, string, string, XFont, XBrush, double, double, double)
Extension draws a list item with PDF Block Level Element tags.
public static void DrawListItem(this XGraphics gfx, string label, string text, XFont font, XBrush brush, double x, double y, double labelWidth)
Parameters
DrawListItem(XGraphics, string, string, XFont, XBrush, double, double, double, XStringFormat)
Extension draws a list item with PDF Block Level Element tags.
public static void DrawListItem(this XGraphics gfx, string label, string text, XFont font, XBrush brush, double x, double y, double labelWidth, XStringFormat format)
Parameters
gfx
XGraphicslabel
stringtext
stringfont
XFontbrush
XBrushx
doubley
doublelabelWidth
doubleformat
XStringFormat
DrawString(XGraphics, string, XFont, XBrush, XPoint, XStringFormat, PdfBlockLevelElementTag)
Extension for DrawString with a PDF Block Level Element tag.
public static void DrawString(this XGraphics gfx, string text, XFont font, XBrush brush, XPoint point, XStringFormat format, PdfBlockLevelElementTag tag)
Parameters
gfx
XGraphicstext
stringfont
XFontbrush
XBrushpoint
XPointformat
XStringFormattag
PdfBlockLevelElementTag
DrawString(XGraphics, string, XFont, XBrush, XPoint, XStringFormat, PdfInlineLevelElementTag)
Extension for DrawString with a PDF Inline Level Element tag.
public static void DrawString(this XGraphics gfx, string text, XFont font, XBrush brush, XPoint point, XStringFormat format, PdfInlineLevelElementTag tag)
Parameters
gfx
XGraphicstext
stringfont
XFontbrush
XBrushpoint
XPointformat
XStringFormattag
PdfInlineLevelElementTag
DrawString(XGraphics, string, XFont, XBrush, XPoint, PdfBlockLevelElementTag)
Extension for DrawString with a PDF Block Level Element tag.
public static void DrawString(this XGraphics gfx, string text, XFont font, XBrush brush, XPoint point, PdfBlockLevelElementTag tag)
Parameters
DrawString(XGraphics, string, XFont, XBrush, XPoint, PdfInlineLevelElementTag)
Extension for DrawString with a PDF Inline Level Element tag.
public static void DrawString(this XGraphics gfx, string text, XFont font, XBrush brush, XPoint point, PdfInlineLevelElementTag tag)
Parameters
DrawString(XGraphics, string, XFont, XBrush, double, double, XStringFormat, PdfBlockLevelElementTag)
Extension for DrawString with a PDF Block Level Element tag.
public static void DrawString(this XGraphics gfx, string text, XFont font, XBrush brush, double x, double y, XStringFormat format, PdfBlockLevelElementTag tag)
Parameters
gfx
XGraphicstext
stringfont
XFontbrush
XBrushx
doubley
doubleformat
XStringFormattag
PdfBlockLevelElementTag
DrawString(XGraphics, string, XFont, XBrush, double, double, XStringFormat, PdfInlineLevelElementTag)
Extension for DrawString with a PDF Inline Level Element tag.
public static void DrawString(this XGraphics gfx, string text, XFont font, XBrush brush, double x, double y, XStringFormat format, PdfInlineLevelElementTag tag)
Parameters
gfx
XGraphicstext
stringfont
XFontbrush
XBrushx
doubley
doubleformat
XStringFormattag
PdfInlineLevelElementTag
DrawString(XGraphics, string, XFont, XBrush, double, double, PdfBlockLevelElementTag)
Extension for DrawString with a PDF Block Level Element tag.
public static void DrawString(this XGraphics gfx, string text, XFont font, XBrush brush, double x, double y, PdfBlockLevelElementTag tag)
Parameters
DrawString(XGraphics, string, XFont, XBrush, double, double, PdfInlineLevelElementTag)
Extension for DrawString with a PDF Inline Level Element tag.
public static void DrawString(this XGraphics gfx, string text, XFont font, XBrush brush, double x, double y, PdfInlineLevelElementTag tag)