public enum WaitForType extends Enum<WaitForType>
| Enum Constant and Description |
|---|
AllFontsLoaded
This mode will begin rendering after all fonts have been loaded; be it local, remote, or google web fonts.
|
HtmlElement
This mode will begin rendering when the specified HTML element becomes existent.
|
ManualTrigger
This mode will wait until user calls internal IronPdf's JavaScript function `window.ironpdf.notifyRender()` that will trigger the rendering.
|
NetworkIdle0
This mode will begin rendering when there is no new network request for 500ms as well as no inflight (outstanding) network requests.
|
NetworkIdle2
This mode will begin rendering when there is no new network request for 500ms but allowed to have no more than 2 inflight (outstanding)
network requests.
|
NetworkIdleN
This mode will begin rendering when there is no new network request as per specified by user according to networkidle duration (in millisecond),
and number of maximum allowed inflight (oustanding) network requests.
|
None
Default type, no condition, no special need to do anything prior to rendering.
|
RenderDelay
This mode will delay for specified amount of time before begin rendering.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
SIZE |
| Modifier and Type | Method and Description |
|---|---|
static WaitForType |
forValue(int value) |
int |
getValue() |
static WaitForType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WaitForType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WaitForType None
public static final WaitForType ManualTrigger
public static final WaitForType RenderDelay
public static final WaitForType NetworkIdle0
public static final WaitForType NetworkIdle2
public static final WaitForType NetworkIdleN
NetworkIdle0
NetworkIdle2public static final WaitForType HtmlElement
public static final WaitForType AllFontsLoaded
public static final int SIZE
public static WaitForType[] values()
for (WaitForType c : WaitForType.values()) System.out.println(c);
public static WaitForType 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 int getValue()
public static WaitForType forValue(int value)
Copyright © 2022–2024 Iron Software. All rights reserved.