getImageScale 【初心者向けWordPressブログ始め方!完全解説】

TCPDFは、PDFドキュメントを生成するためのPHPクラスです。TCPDFは2002年に初めて公開され開発が進められてきた無料のオープンソースソフトウェアです。現在公開されているPHPのPDFライブラリはいくつかありますが、その中でも機能面で一番優れていて実績もあります。

getImageScale( )
$this->pagedim[$this->page][‘w’] = page width in points
$this->pagedim[$this->page][‘h’] = height in points
$this->pagedim[$this->page][‘wk’] = page width in user units
$this->pagedim[$this->page][‘hk’] = page height in user units
$this->pagedim[$this->page][‘tm’] = top margin
$this->pagedim[$this->page][‘bm’] = bottom margin
$this->pagedim[$this->page][‘lm’] = left margin
$this->pagedim[$this->page][‘rm’] = right margin
$this->pagedim[$this->page][‘pb’] = auto page break
$this->pagedim[$this->page][‘or’] = page orientation
$this->pagedim[$this->page][‘olm’] = original left margin
$this->pagedim[$this->page][‘orm’] = original right margin
$this->pagedim[$this->page][‘Rotate’] = The number of degrees by which the page shall be rotated clockwise when displayed or printed. The value shall be a multiple of 90.
$this->pagedim[$this->page][‘PZ’] = The page’s preferred zoom (magnification) factor.
$this->pagedim[$this->page][‘trans’] : the style and duration of the visual transition to use when moving from another page to the given page during a presentation
$this->pagedim[$this->page][‘trans’][‘Dur’] = The page’s display duration (also called its advance timing): the maximum length of time, in seconds, that the page shall be displayed during presentations before the viewer application shall automatically advance to the next page.
$this->pagedim[$this->page][‘trans’][‘S’] = transition style : Split, Blinds, Box, Wipe, Dissolve, Glitter, R, Fly, Push, Cover, Uncover, Fade
$this->pagedim[$this->page][‘trans’][‘D’] = The duration of the transition effect, in seconds.
$this->pagedim[$this->page][‘trans’][‘Dm’] = (Split and Blinds transition styles only) The dimension in which the specified transition effect shall occur: H = Horizontal, V = Vertical. Default value: H.
$this->pagedim[$this->page][‘trans’][‘M’] = (Split, Box and Fly transition styles only) The direction of motion for the specified transition effect: I = Inward from the edges of the page, O = Outward from the center of the pageDefault value: I.
$this->pagedim[$this->page][‘trans’][‘Di’] = (Wipe, Glitter, Fly, Cover, Uncover and Push transition styles only) The direction in which the specified transition effect shall moves, expressed in degrees counterclockwise starting from a left-to-right direction. If the value is a number, it shall be one of: 0 = Left to right, 90 = Bottom to top (Wipe only), 180 = Right to left (Wipe only), 270 = Top to bottom, 315 = Top-left to bottom-right (Glitter only). If the value is a name, it shall be None, which is relevant only for the Fly transition when the value of SS is not 1.0. Default value: 0.
$this->pagedim[$this->page][‘trans’][‘SS’] = (Fly transition style only) The starting or ending scale at which the changes shall be drawn. If M specifies an inward transition, the scale of the changes drawn shall progress from SS to 1.0 over the course of the transition. If M specifies an outward transition, the scale of the changes drawn shall progress from 1.0 to SS over the course of the transition. Default: 1.0.
$this->pagedim[$this->page][‘trans’][‘B’] = (Fly transition style only) If true, the area that shall be flown in is rectangular and opaque. Default: false.
$this->pagedim[$this->page][‘MediaBox’] : the boundaries of the physical medium on which the page shall be displayed or printed
$this->pagedim[$this->page][‘MediaBox’][‘llx’] = lower-left x coordinate in points
$this->pagedim[$this->page][‘MediaBox’][‘lly’] = lower-left y coordinate in points
$this->pagedim[$this->page][‘MediaBox’][‘urx’] = upper-right x coordinate in points
$this->pagedim[$this->page][‘MediaBox’][‘ury’] = upper-right y coordinate in points
$this->pagedim[$this->page][‘CropBox’] : the visible region of default user space
$this->pagedim[$this->page][‘CropBox’][‘llx’] = lower-left x coordinate in points
$this->pagedim[$this->page][‘CropBox’][‘lly’] = lower-left y coordinate in points
$this->pagedim[$this->page][‘CropBox’][‘urx’] = upper-right x coordinate in points
$this->pagedim[$this->page][‘CropBox’][‘ury’] = upper-right y coordinate in points
$this->pagedim[$this->page][‘BleedBox’] : the region to which the contents of the page shall be clipped when output in a production environment
$this->pagedim[$this->page][‘BleedBox’][‘llx’] = lower-left x coordinate in points
$this->pagedim[$this->page][‘BleedBox’][‘lly’] = lower-left y coordinate in points
$this->pagedim[$this->page][‘BleedBox’][‘urx’] = upper-right x coordinate in points
$this->pagedim[$this->page][‘BleedBox’][‘ury’] = upper-right y coordinate in points
$this->pagedim[$this->page][‘TrimBox’] : the intended dimensions of the finished page after trimming
$this->pagedim[$this->page][‘TrimBox’][‘llx’] = lower-left x coordinate in points
$this->pagedim[$this->page][‘TrimBox’][‘lly’] = lower-left y coordinate in points
$this->pagedim[$this->page][‘TrimBox’][‘urx’] = upper-right x coordinate in points
$this->pagedim[$this->page][‘TrimBox’][‘ury’] = upper-right y coordinate in points
$this->pagedim[$this->page][‘ArtBox’] : the extent of the page’s meaningful content
$this->pagedim[$this->page][‘ArtBox’][‘llx’] = lower-left x coordinate in points
$this->pagedim[$this->page][‘ArtBox’][‘lly’] = lower-left y coordinate in points
$this->pagedim[$this->page][‘ArtBox’][‘urx’] = upper-right x coordinate in points
$this->pagedim[$this->page][‘ArtBox’][‘ury’] = upper-right y coordinate in points


タイトルとURLをコピーしました