PeachPDF
PeachPDF.Layout.IContainer
IContainer.Svg Method
| Overloads | |
|---|---|
| Svg(byte[]) | Places inline SVG markup loaded from raw bytes. Terminal - may be called at most once. |
| Svg(string) | Places inline SVG markup. Terminal - may be called at most once. |
| Svg(Func<PdfSize,string>) | Places SVG markup generated on demand, at exactly this container’s own resolved size, once that size is known - see Image(Func<PdfSize,byte[]>)’s own doc comment for the size-resolution rules, which are identical here. Terminal - may be called at most once. |
| Svg(Stream) | Places inline SVG markup read fully from a stream. Terminal - may be called at most once. |
IContainer.Svg(byte[]) Method
Places inline SVG markup loaded from raw bytes. Terminal - may be called at most once.
void Svg(byte[] data);
Parameters
data System.Byte[]
IContainer.Svg(string) Method
Places inline SVG markup. Terminal - may be called at most once.
void Svg(string svgMarkup);
Parameters
svgMarkup System.String
IContainer.Svg(Func<PdfSize,string>) Method
Places SVG markup generated on demand, at exactly this container’s own resolved size, once that size is known - see Image(Func<PdfSize,byte[]>)’s own doc comment for the size-resolution rules, which are identical here. Terminal - may be called at most once.
void Svg(System.Func<PeachPDF.PdfSize,string> generator);
Parameters
generator System.Func<PdfSize,System.String>
IContainer.Svg(Stream) Method
Places inline SVG markup read fully from a stream. Terminal - may be called at most once.
void Svg(System.IO.Stream stream);
Parameters
stream System.IO.Stream