Namespace: PdfSharp.UniversalAccessibility.Drawing
PDF/UA extensions.
public static class XGraphicsExtensions
Inheritance Object → XGraphicsExtensions
Extension for DrawString with a PDF Block Level Element tag.
public static void DrawString(XGraphics gfx, string text, XFont font, XBrush brush, double x, double y, XStringFormat format, PdfBlockLevelElementTag tag)
gfx XGraphics
text String
font XFont
brush XBrush
x Double
y Double
format XStringFormat
Extension for DrawString with a PDF Inline Level Element tag.
public static void DrawString(XGraphics gfx, string text, XFont font, XBrush brush, double x, double y, XStringFormat format, PdfInlineLevelElementTag tag)
gfx XGraphics
text String
font XFont
brush XBrush
x Double
y Double
format XStringFormat
Extension for DrawString with a PDF Block Level Element tag.
public static void DrawString(XGraphics gfx, string text, XFont font, XBrush brush, XPoint point, XStringFormat format, PdfBlockLevelElementTag tag)
gfx XGraphics
text String
font XFont
brush XBrush
point XPoint
format XStringFormat
Extension for DrawString with a PDF Inline Level Element tag.
public static void DrawString(XGraphics gfx, string text, XFont font, XBrush brush, XPoint point, XStringFormat format, PdfInlineLevelElementTag tag)
gfx XGraphics
text String
font XFont
brush XBrush
point XPoint
format XStringFormat
Extension for DrawString with a PDF Block Level Element tag.
public static void DrawString(XGraphics gfx, string text, XFont font, XBrush brush, double x, double y, PdfBlockLevelElementTag tag)
gfx XGraphics
text String
font XFont
brush XBrush
x Double
y Double
Extension for DrawString with a PDF Inline Level Element tag.
public static void DrawString(XGraphics gfx, string text, XFont font, XBrush brush, double x, double y, PdfInlineLevelElementTag tag)
gfx XGraphics
text String
font XFont
brush XBrush
x Double
y Double
Extension for DrawString with a PDF Block Level Element tag.
public static void DrawString(XGraphics gfx, string text, XFont font, XBrush brush, XPoint point, PdfBlockLevelElementTag tag)
gfx XGraphics
text String
font XFont
brush XBrush
point XPoint
Extension for DrawString with a PDF Inline Level Element tag.
public static void DrawString(XGraphics gfx, string text, XFont font, XBrush brush, XPoint point, PdfInlineLevelElementTag tag)
gfx XGraphics
text String
font XFont
brush XBrush
point XPoint
Extension for DrawAbbreviation with a PDF Inline Level Element tag.
public static void DrawAbbreviation(XGraphics gfx, string abbreviation, string expandedText, XFont font, XBrush brush, double x, double y, XStringFormat format, PdfInlineLevelElementTag tag)
gfx XGraphics
abbreviation String
expandedText String
font XFont
brush XBrush
x Double
y Double
format XStringFormat
Extension for DrawAbbreviation with a Span PDF Inline Level Element tag.
public static void DrawAbbreviation(XGraphics gfx, string abbreviation, string expandedText, XFont font, XBrush brush, double x, double y, XStringFormat format)
gfx XGraphics
abbreviation String
expandedText String
font XFont
brush XBrush
x Double
y Double
format XStringFormat
Extension for DrawAbbreviation with a Span PDF Inline Level Element tag.
public static void DrawAbbreviation(XGraphics gfx, string abbreviation, string expandedText, XFont font, XBrush brush, XPoint point, XStringFormat format)
gfx XGraphics
abbreviation String
expandedText String
font XFont
brush XBrush
point XPoint
format XStringFormat
Extension for DrawAbbreviation with a Span PDF Inline Level Element tag.
public static void DrawAbbreviation(XGraphics gfx, string abbreviation, string expandedText, XFont font, XBrush brush, double x, double y)
gfx XGraphics
abbreviation String
expandedText String
font XFont
brush XBrush
x Double
y Double
Extension for DrawAbbreviation with a Span PDF Inline Level Element tag.
public static void DrawAbbreviation(XGraphics gfx, string abbreviation, string expandedText, XFont font, XBrush brush, XPoint point)
gfx XGraphics
abbreviation String
expandedText String
font XFont
brush XBrush
point XPoint
Extension for DrawImage with an alternative text.
public static void DrawImage(XGraphics gfx, XImage image, double x, double y, string altText, XRect boundingBox)
gfx XGraphics
image XImage
x Double
y Double
altText String
boundingBox XRect
Extension for DrawImage with an alternative text.
public static void DrawImage(XGraphics gfx, XImage image, double x, double y, double width, double height, string altText, XRect boundingBox)
gfx XGraphics
image XImage
x Double
y Double
width Double
height Double
altText String
boundingBox XRect
Extension for DrawImage with an alternative text.
public static void DrawImage(XGraphics gfx, XImage image, XPoint point, string altText, XRect boundingBox)
gfx XGraphics
image XImage
point XPoint
altText String
boundingBox XRect
Extension for DrawImage with an alternative text.
public static void DrawImage(XGraphics gfx, XImage image, XPoint point, double width, double height, string altText, XRect boundingBox)
gfx XGraphics
image XImage
point XPoint
width Double
height Double
altText String
boundingBox XRect
Extension for DrawImage with an alternative text.
public static void DrawImage(XGraphics gfx, XImage image, XRect rect, string altText, XRect boundingBox)
gfx XGraphics
image XImage
rect XRect
altText String
boundingBox XRect
Extension for DrawImage with an alternative text.
public static void DrawImage(XGraphics gfx, XImage image, double x, double y, string altText)
gfx XGraphics
image XImage
x Double
y Double
altText String
Extension for DrawImage with an alternative text.
public static void DrawImage(XGraphics gfx, XImage image, double x, double y, double width, double height, string altText)
gfx XGraphics
image XImage
x Double
y Double
width Double
height Double
altText String
Extension for DrawImage with an alternative text.
public static void DrawImage(XGraphics gfx, XImage image, XPoint point, string altText)
gfx XGraphics
image XImage
point XPoint
altText String
Extension for DrawImage with an alternative text.
public static void DrawImage(XGraphics gfx, XImage image, XPoint point, double width, double height, string altText)
gfx XGraphics
image XImage
point XPoint
width Double
height Double
altText String
Extension for DrawImage with an alternative text.
public static void DrawImage(XGraphics gfx, XImage image, XRect rect, string altText)
gfx XGraphics
image XImage
rect XRect
altText String
Extension for DrawLink with an alternative text.
public static void DrawLink(XGraphics gfx, string s, XFont font, XBrush brush, double x, double y, XStringFormat format, PdfLinkAnnotation linkAnnotation, string altText)
gfx XGraphics
s String
font XFont
brush XBrush
x Double
y Double
format XStringFormat
linkAnnotation PdfLinkAnnotation
altText String
Extension for DrawLink with an alternative text.
public static void DrawLink(XGraphics gfx, string s, XFont font, XBrush brush, XPoint point, XStringFormat format, PdfLinkAnnotation linkAnnotation, string altText)
gfx XGraphics
s String
font XFont
brush XBrush
point XPoint
format XStringFormat
linkAnnotation PdfLinkAnnotation
altText String
Extension for DrawLink with an alternative text.
public static void DrawLink(XGraphics gfx, string s, XFont font, XBrush brush, double x, double y, PdfLinkAnnotation linkAnnotation, string altText)
gfx XGraphics
s String
font XFont
brush XBrush
x Double
y Double
linkAnnotation PdfLinkAnnotation
altText String
Extension for DrawLink with an alternative text.
public static void DrawLink(XGraphics gfx, string s, XFont font, XBrush brush, XPoint point, PdfLinkAnnotation linkAnnotation, string altText)
gfx XGraphics
s String
font XFont
brush XBrush
point XPoint
linkAnnotation PdfLinkAnnotation
altText String
Extension draws a list item with PDF Block Level Element tags.
public static void DrawListItem(XGraphics gfx, string label, string text, XFont font, XBrush brush, double x, double y, double labelWidth, XStringFormat format)
gfx XGraphics
label String
text String
font XFont
brush XBrush
x Double
y Double
labelWidth Double
format XStringFormat
Extension draws a list item with PDF Block Level Element tags.
public static void DrawListItem(XGraphics gfx, string label, string text, XFont font, XBrush brush, XPoint point, double labelWidth, XStringFormat format)
gfx XGraphics
label String
text String
font XFont
brush XBrush
point XPoint
labelWidth Double
format XStringFormat
Extension draws a list item with PDF Block Level Element tags.
public static void DrawListItem(XGraphics gfx, string label, string text, XFont font, XBrush brush, double x, double y, double labelWidth)
gfx XGraphics
label String
text String
font XFont
brush XBrush
x Double
y Double
labelWidth Double
Extension draws a list item with PDF Block Level Element tags.
public static void DrawListItem(XGraphics gfx, string label, string text, XFont font, XBrush brush, XPoint point, double labelWidth)
gfx XGraphics
label String
text String
font XFont
brush XBrush
point XPoint
labelWidth Double