pub struct PdfPage(/* private fields */);
Implementations§
§impl PdfPage
impl PdfPage
pub fn Close(&self) -> Result<()>
pub fn RenderToStreamAsync<P0>(&self, outputstream: P0) -> Result<IAsyncAction>where
P0: IntoParam<IRandomAccessStream>,
pub fn RenderWithOptionsToStreamAsync<P0, P1>(
&self,
outputstream: P0,
options: P1
) -> Result<IAsyncAction>where
P0: IntoParam<IRandomAccessStream>,
P1: IntoParam<PdfPageRenderOptions>,
pub fn PreparePageAsync(&self) -> Result<IAsyncAction>
pub fn Index(&self) -> Result<u32>
pub fn Size(&self) -> Result<Size>
pub fn Dimensions(&self) -> Result<PdfPageDimensions>
pub fn Rotation(&self) -> Result<PdfPageRotation>
pub fn PreferredZoom(&self) -> Result<f32>
Trait Implementations§
§impl From<&PdfPage> for &IInspectable
impl From<&PdfPage> for &IInspectable
§impl From<PdfPage> for IInspectable
impl From<PdfPage> for IInspectable
§impl Interface for PdfPage
impl Interface for PdfPage
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read moreimpl Eq for PdfPage
impl Send for PdfPage
impl StructuralPartialEq for PdfPage
impl Sync for PdfPage
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more