public enum ContentMode extends Enum<ContentMode>
Copyright (c) 2020 xsx All Rights Reserved. x-easypdf-pdfbox is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2 THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. See the Mulan PSL v2 for more details.
Enum Constant and Description |
---|
APPEND
追加
|
OVERWRITE
覆盖
|
PREPEND
前置
|
Modifier and Type | Method and Description |
---|---|
org.apache.pdfbox.pdmodel.PDPageContentStream.AppendMode |
getMode()
获取内容模式
|
static ContentMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentMode OVERWRITE
public static final ContentMode APPEND
public static final ContentMode PREPEND
public static ContentMode[] values()
for (ContentMode c : ContentMode.values()) System.out.println(c);
public static ContentMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic org.apache.pdfbox.pdmodel.PDPageContentStream.AppendMode getMode()
Copyright © 2024. All rights reserved.