Search
Preparing search index...
The search index is not available
@argdown/node
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@argdown/node
SvgToPdfExportPlugin
Class SvgToPdfExportPlugin
Hierarchy
SvgToPdfExportPlugin
Implements
IAsyncArgdownPlugin
Index
Constructors
constructor
Properties
defaults
name
prepare
run
Async
Methods
get
File
Name
get
Settings
save
Pdf
To
File
to
Array
Buffer
Constructors
constructor
new
Svg
To
Pdf
Export
Plugin
(
config
?:
ISvgToPdfSettings
)
:
SvgToPdfExportPlugin
Parameters
Optional
config:
ISvgToPdfSettings
Returns
SvgToPdfExportPlugin
Properties
defaults
defaults
:
ISvgToPdfSettings
name
name
:
string
= "SvgToPdfExportPlugin"
prepare
prepare
:
IRequestHandler
= ...
run
Async
run
Async
:
IAsyncRequestHandler
= ...
Methods
get
File
Name
get
File
Name
(
file
:
string
)
:
string
Parameters
file:
string
Returns
string
get
Settings
get
Settings
(
request
:
IArgdownRequest
)
:
ISvgToPdfSettings
Parameters
request:
IArgdownRequest
Returns
ISvgToPdfSettings
save
Pdf
To
File
save
Pdf
To
File
(
pdf
:
any
, fileName
:
string
)
:
Promise
<
void
>
Parameters
pdf:
any
fileName:
string
Returns
Promise
<
void
>
to
Array
Buffer
to
Array
Buffer
(
buf
:
Buffer
)
:
ArrayBuffer
Parameters
buf:
Buffer
Returns
ArrayBuffer
Exports
Svg
To
Pdf
Export
Plugin
constructor
defaults
name
prepare
run
Async
get
File
Name
get
Settings
save
Pdf
To
File
to
Array
Buffer
Generated using
TypeDoc