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
gfxXGraphicsabbreviationstringexpandedTextstringfontXFontbrushXBrushpointXPointformatXStringFormat
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
gfxXGraphicsabbreviationstringexpandedTextstringfontXFontbrushXBrushxdoubleydoubleformatXStringFormat
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
gfxXGraphicsabbreviationstringexpandedTextstringfontXFontbrushXBrushxdoubleydoubleformatXStringFormattagPdfInlineLevelElementTag
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
gfxXGraphicsimageXImagexdoubleydoublewidthdoubleheightdoublealtTextstringboundingBoxXRect
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
gfxXGraphicssstringfontXFontbrushXBrushpointXPointformatXStringFormatlinkAnnotationPdfLinkAnnotationaltTextstring
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
gfxXGraphicssstringfontXFontbrushXBrushpointXPointlinkAnnotationPdfLinkAnnotationaltTextstring
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
gfxXGraphicssstringfontXFontbrushXBrushxdoubleydoubleformatXStringFormatlinkAnnotationPdfLinkAnnotationaltTextstring
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
gfxXGraphicssstringfontXFontbrushXBrushxdoubleydoublelinkAnnotationPdfLinkAnnotationaltTextstring
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
gfxXGraphicslabelstringtextstringfontXFontbrushXBrushpointXPointlabelWidthdoubleformatXStringFormat
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
gfxXGraphicslabelstringtextstringfontXFontbrushXBrushxdoubleydoublelabelWidthdoubleformatXStringFormat
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
gfxXGraphicstextstringfontXFontbrushXBrushpointXPointformatXStringFormattagPdfBlockLevelElementTag
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
gfxXGraphicstextstringfontXFontbrushXBrushpointXPointformatXStringFormattagPdfInlineLevelElementTag
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
gfxXGraphicstextstringfontXFontbrushXBrushxdoubleydoubleformatXStringFormattagPdfBlockLevelElementTag
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
gfxXGraphicstextstringfontXFontbrushXBrushxdoubleydoubleformatXStringFormattagPdfInlineLevelElementTag
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)