PTReflow

@interface PTReflow : NSObject

The class Reflow. Reflow annotations between PDF and HTML

DocumentConversion instances are created through methods belonging to the Convert class. See Convert.ReflowWithPage for an example.

  • Converts PDF to HTML.

    Declaration

    Objective-C

    - (NSString *)GetHtml;

    Swift

    func getHtml() -> String!

    Return Value

    returns HTML as a string.

  • Gets PDF annotation(s) as JSON.

    Declaration

    Objective-C

    - (NSString *)GetAnnot:(NSString *)in_id;

    Swift

    func getAnnot(_ in_id: String!) -> String!

    Parameters

    in_id

    – an annotation ID, or an empty string.

    Return Value

    returns JSON string.

  • Updates PDF annotation.

    Declaration

    Objective-C

    - (NSString *)SetAnnot:(NSString *)in_json;

    Swift

    func setAnnot(_ in_json: String!) -> String!

    Parameters

    in_json

    – update instructions (JSON).

    Return Value

    returns JSON string.

  • Undocumented

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    init!()