All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dynamicpdf.api.PageInformation Maven / Gradle / Ivy

Go to download

A Java Client API that uses the DynamicPDF API to create, merge, split, form fill, stamp, secure/encrypt PDF documents.

There is a newer version: 1.10.1
Show newest version
package com.dynamicpdf.api;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;

/**
 * Represents a page information.
 */

public class PageInformation {

	private int pageNumber;
	private float width;
	private float height;

	/**
	 * Gets the page number.
	 * @return The page number.
	 */
	public int getPageNumber() {
		return pageNumber;
	}

	/**
	 * sets the page number.
	 * @param value The page number.
	 */
	public void setPageNumber(int value) {
		pageNumber = value;
	}

	/**
	 * Gets the width of the page.
	 * @return The width of the page.
	 */
	@JsonSerialize(using = FloatJsonSerializer.class)
	public float getWidth() {
		return width;
	}

	/**
	 * sets the width of the page.
	 * @param value The width of the page.
	 */
	public void setWidth(float value) {
		width = value;
	}

	/**
	 * Gets the height of the page.
	 * @return The height of the page.
	 */
	@JsonSerialize(using = FloatJsonSerializer.class)
	public float getHeight() {
		return height;
	}

	/**
	 * sets the height of the page.
	 * @param value The height of the page.
	 */
	public void setHeight(float value) {
		height = value;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy