Document Area Code Sample

Document areas are defined in an areas block of a DiveTab module and appear similar to the following:

  areas { 
    document-area id = "document-area-code-sample" {  
      title "Document Area <br> Code Sample" 
      icon "/divetab/images/menu icons/47.png" 
      icon "/divetab/images/menu icons/46.png" retina = true
      path "/divetab/documents/DiveTabUserGuideiPad17.pdf"
    } 
  } 

Here is how the Closedbutton appears in DiveTab.

Example Document Area Button

Here is the Closedresulting page of the associated document.

Document Area Page Example

NOTE: Only pdf files open within DiveTab. Other file types open with their corresponding applications.

See also: