struct Protocol::Page::PrintToPDF
- Protocol::Page::PrintToPDF
- Struct
- Value
- Object
Overview
Print page as PDF.
Included Modules
- JSON::Serializable
- Protocol::Command
Defined in:
protocol/page.crConstructors
Instance Method Summary
-
#data : String
Base64-encoded pdf data.
-
#stream : IO::StreamHandle | Nil
A handle of the stream that holds resulting PDF data.
Constructor Detail
Instance Method Detail
def data : String
#
Base64-encoded pdf data. Empty if |returnAsStream| is specified. (Encoded as a base64 string when passed over JSON)