OpenXLSX 1.12.1
Modern C++ Excel Library (Fork of OpenXLSX by Kenneth Troldal Balslev)
Loading...
Searching...
No Matches
OpenXLSX::XLDistance Class Reference

#include <XLConstants.hpp>

Public Member Functions

 XLDistance ()=default
uint64_t getEMU () const
uint32_t getPixels () const
double getInches () const

Static Public Member Functions

static XLDistance Pixels (uint32_t px)
static XLDistance Centimeters (double cm)
static XLDistance Inches (double inch)
static XLDistance Points (double pt)
static XLDistance EMU (uint64_t emu)

Constructor & Destructor Documentation

◆ XLDistance()

OpenXLSX::XLDistance::XLDistance ( )
default

Member Function Documentation

◆ Centimeters()

XLDistance OpenXLSX::XLDistance::Centimeters ( double cm)
inlinestatic

◆ EMU()

XLDistance OpenXLSX::XLDistance::EMU ( uint64_t emu)
inlinestatic

◆ getEMU()

uint64_t OpenXLSX::XLDistance::getEMU ( ) const
inlinenodiscard

◆ getInches()

double OpenXLSX::XLDistance::getInches ( ) const
inlinenodiscard

◆ getPixels()

uint32_t OpenXLSX::XLDistance::getPixels ( ) const
inlinenodiscard

◆ Inches()

XLDistance OpenXLSX::XLDistance::Inches ( double inch)
inlinestatic

◆ Pixels()

XLDistance OpenXLSX::XLDistance::Pixels ( uint32_t px)
inlinestatic

◆ Points()

XLDistance OpenXLSX::XLDistance::Points ( double pt)
inlinestatic

The documentation for this class was generated from the following file:
  • /home/runner/work/OpenXLSX-NX/OpenXLSX-NX/OpenXLSX/headers/XLConstants.hpp