49
• Double-clickonthelayernametochangethedisplaystyleandlabelsforthelayer.Thisopensthe
LayouerPropertiesdialogbox.Formoredetails,clickonthedialog'sHelpbuttonorseeChanging
howaLayerDisplaysontheMap.
ThechangesyoumaketothemapinyourlayoutdoesnotaffectthecontentsoftheMapwindowand
vicaversa.
AddingaMapLegendtotheLayoutDesignerwindow
WhenamapisembeddedinaLayoutDesignerwindow,anylegendsyoucreateforthemaparealso
placedinthesameLayoutDesignerwindow.
Toaddamaplegendtoyourlayout:
1. Right-clickonthemapframeandselectAddLegendstoopentheAddFrameswizard.
Youcanalsoactivatethemap(right-clickandselectActivate)andthenontheMapmenupointto
AddLegends.
2. Selectfromtheoptionsthatthewizardpresents,orclickthroughthewizardtokeepthedefault
settings.
Foradetaileddescriptionsoftheoptionsinthewizard,clickHelpinthewizard.
Bydefault,thelegendisbesidethemapintheLayoutDesignerwindow.Alegendhasseparatelegend
framesforeachlayeronthemap.Thisletsyoucustomizethelegendtoshowonlytheinformationfor
thoselayersthatareimportanttowhatthemapconveys.Byshowingsomelegendframesandnotothers
andbychangingthemaptitleandlegendtext,youcanuseidenticalmapstocreatetwoverydifferent
layouts.Thisisusefulwhenthesamemapisusedfortwodifferentaudiences.
YoucandeletealegendframefromyourlayoutbyselectingitandpressingtheDelete
key.Toadda
layertoyourlegend,becauseyoudeletedthelegendframeordidnotincludethelayerwhencreating
thelegend,followthestepsinthissectionandselectthelayerthatyouwanttoaddintheCreateLegend
wizard.
Youcannotcreateasecondlegendinyourlayoutforthesamemaplayer.Removingalayerfromamap
alsodeletesthelegendforthatlayer.
EditingaLegendinaLayoutDesignerWindow
AmaplegendinaLayoutDesignerwindowismadeupofindividuallegendframesthatareeachunique
toalayeronthemap.Tocustomizeyourmaplegend,youwouldeditthecontentsofthelegendframes
tosupportthedesignofthefinalmapandtoclearlycommunicatethemapcontentstothereader.
Eachlegendframemayhaveatitleandsubtitle.Youcaneditthelabeltext,changethefontsizeand
style,andchangethesamplesize.Youalsohavecontroloverhowtosortthelabels.
Toeditthecontentsanddisplayofalegendframe:
1. Double-clickonthelegendframetoopentheLegendFramePropertiesdialogbox.
2. Changeorremovethetitle.Optionallyaddasubtitle,changethedisplayofthelabelsandthesample
size.Foradetaileddescriptionofthedialogoptions,clickHelp.
Forsomelegendthemes,youcancontroltheorderoftherowsinthelegend(byascending,
descending,orcustomizingtheorder),andshoworhidethecountbesideeachrow.
Foradditionalinformation,seeChangingMapLegendTitlesandFontStyle.
3. Repeatthepreviousstepsforeachlegendframethatyouwishtochangeinyourlayout.
Tohavemorethanonecolumninalegendframe,eithersetthenumberofcolumnsintheLegend
FramePropertiesdialogboxorresizethelegendframe.
Tomodifyhowathematiclegenddisplays,right-clickonitandselectModifyLegend'sThematicMap
toopentheModifyThematicMapdialogbox.Youcanthencustomizethedisplaypropertiesofthe
thematicmaplegend.Thisoptionisonlyavailableonathematicmaplegendframe.
323
MapInfoProfessionalUserGuide
Chapter12:StylizingYourMapforPresentationsandPublishing
50
RefreshingtheContentsofaLegendFrame
Youcaneditobjectstylesonthemapbyaddingnewstylesandremovingexistingstyles,whichmay
affectwhatthestyleslooklikeinthelegend.Alegenddoesnotupdateautomaticallyexceptwhen
overriding,changing,orremovinganexistingstyle.Forotherstylechangesmadetoalayer,youmust
refreshthatlayer'slegendframe.
Youcannotrefreshathematiclegendframe.Instead,youmustrecreateit.
Torefreshthecontentsofalegendframeaftermakingstylechangestoalayer:
Right-clickonthelegendframeandclickRefreshLegendStyles.
Thelegendframerefreshestoshowthemostcurrentstylesinuseforthelayer.
AddingaThematicMaptotheLayoutDesignerWindow
WhencreatingalayoutofamapintheLayoutDesignerwindow,youcanaddathematiclayertothe
map.
Toaddathematicmaptoyourlayout:
1. Right-clickonthemapframeandpointtoActivateinthepop-upmenu.Thishighlightstheborder
oftheactiveframe.
2. OntheMapmenu,pointtoCreateThematicMaptostartthethemewizard.
3. Selectfromtheoptionsthatthewizardpresents.
Fordetailsaboutthewizardandcreatingathematicmap,seeCreatingaThematicMap.
Bydefault,thethematiclegendispositionedbesidethemapintheLayoutDesignerwindow.
Ifyoudonotwanttocreatealegendwithyourthematicmap,theninStep3ofthecreatethemewizard,
clickLegendtoopentheCustomizeLegenddialogbox.FromtheIntoWindowdrop-downlist,select
NoLegend.MapInfoProfessionalappliesthethemetothemapintheLayoutDesignerwindow,but
doesnotcreatealegend.
YoucandeletealegendframefromyourlayoutbyselectingitandpressingtheDelete
key.
AddingaTable(Browser)totheLayoutDesignerWindow
IfaBrowserwindowisopeninMapInfoProfessional,thenyoucanadditasatableinyourlayout.
Addingatableisusefulwhenyouwanttoshowmoredetailsaboutthedatathatthemapdisplays.
Todisplayatableinyourlayout:
1. OntheLayoutDesignerwindow,clickInsertBrowserFrame
.
2. SelectaBrowserwindowfromthelisttoopenitinaframeinyourlayout.Thelistincludesthe
Browserwindowsthatareopenandanybrowserframesthatareinyourlayout.
OpenstheBrowseTabledialogboxwhereyoucanselectatable
thatiscurrentlyopeninMapInfoProfessional,toaddtoyour
layout.
NewBrowser
IndicatesaBrowserwindow.SelecttocopyaBrowserwindow
intoanewbrowserframeinyourlayout.
BrowserWindow
Indicatesabrowserframethatisalreadyinyourlayout.Selecting
abrowserframeduplicatestheframeinyourlayout,sothatyou
BrowserFrame
canshowthesamedatatwiceinyouroutput.Youcanediteach
browserframeseparately.Thisisusefulifyouwanttoshowbefore
andafterscenarios,orwishtocompareandcontrastdataonyour
map.
MapInfoProfessional12.5
324
WorkingwithLayouts
41
ThetableisinabrowserframeintheLayoutDesignerwindow.
ClosingtheopenBrowserwindowdoesnotaffectyourlayout.However,closingatable(onthe
FilemenupointingtoCloseTable)closesitinallwindowsincludingtheLayoutDesigner
window.
Note:
EditingtheContentsofaBrowserFrame
ActivatingabrowserframeinyourlayoutgivesyouaccesstheBrowsercontext(right-click)menu.The
dataisread-only,butyoucansortandfilterthecontents,resizeandreordercolumns,pickfields,change
thefontdisplay,andtogglethedisplayofthegridlines.Youcannoteditthedatainabrowserframe;
youcanonlymakecosmeticchanges.
YoucannotselectrowsinabrowserframeintheLayoutDesignerwindow,andselectionstothesame
basetablemadeinotherwindowsdoesnotaffectthebrowserframe.
Toeditthedisplayofabrowserframe:
1. Right-clickonthebrowserframeandfromthepop-upmenu,selectActivate.Thishighlightsthe
borderoftheactiveframe.
2. Right-clickonacolumninthebrowserframeandfromthepop-upmenu,selecttosortthecolumn
orapplyafiltertoit.
ForadescriptionoftheBrowsercontextmenu,seeAboutBrowserWindowToolsandMenus.Look
atthedescriptionsunderRight-ClickContextMenuOptions.
Clickingawayfromtheactiveframedeactivatesit.
AddinganImagetotheLayoutDesignerWindow
Youcanaddanimagetoyourlayout,suchasacorporatelogo,on-locationphoto,orbackdropforyour
map.Thefollowingaresupportedimageformatsthatyoucanworkwith:
• JPEGInterchangeFormat(*.jpeg,*.jpg)
• PortableNetworkGraphics(*.png)
• WindowsBitmap(*.bmp)
• GraphicsInterchangeFormat(*.gif)
• TagImageFileFormat(*.tif,*.tiff)
• IconFormat(*.ico)
Theimageframemaintainsareferencetotheimagefile,sotheoriginalimagefilemustremaininthe
samelocationforittodisplay.Thereferencetotheimagefileisalsomaintainedinaworkspace.
Toaddanimagetoyourlayout:
1. OntheLayoutDesignerwindow,clickInsertImage
toopentheInsertImagedialogbox.
2. Locatetheimagefilethatyouwanttoinsert,selectit,andthenclickOpen.Theimagedisplaysin
yourlayout.
Youcanresizeanimagebyselectingitandthendraggingacornertoanewsize.Theimagescalesto
fitwithintheimageframe.
325
MapInfoProfessionalUserGuide
Chapter12:StylizingYourMapforPresentationsandPublishing
How to C#: Preview Document Content Using XDoc.excel How to C#: Preview Document Content Using XDoc.Excel. Get Preview From File. You may get document preview image from an existing Excel file in C#.net.
how to delete text in pdf file; how to delete text in pdf converter professional
40
TheLayoutDesignermaintainstheimageaspectratio(ratiobetweenwidthandheight)asyouresize
it,sothattheimagedoesnotlookdistorted.Whenreplacinganimage,theimageframeresizestomatch
theaspectratioofthenewimage.
ImageNotFound
AmessagedisplaysinaLayoutDesignerimageframewhentheimagefilethattheframereferences
cannotbefound.Themessageincludesthepathtothefilethatismissing.Theimageframeretainsthe
referencetotheimage,sorestoringtheimagefilerestoresitsdisplayintheimageframe.
Asanexample,youwillseeamessageafterdeletingorrenamingtheimageorwhenanimageisina
sharedlocationonyournetworkandyouloseaccesstothenetwork.Afterrestoringtheimage,orrestoring
yournetworkconnection,theimagedisplaysinthelayout.
TheLayoutDesignerretainstheimageinthelayoutduringyoursession,soyoumaynotseeamessage
untilafterreloadingthelayout,suchaswhenresizingtheimageinthelayoutorafteropeningaworkspace.
AddingTexttotheLayoutDesignerWindow
Youcanaddtexttoyourlayout,suchastitles,footnotes,copyrightdate,andotherimportantinformation
thatexplainsyourmap.Thetextthatyouaddiswithinatextframethatcanbemovedanywhereinthe
layout.
Eachtextframeholdsupto2047characters.
Toaddtexttoyourlayout:
1. OntheLayoutDesignerwindow,clickInsertText
.
2. Clickwhereyouwanttoaddtexttoyourlayout.
3. Typeyourtextinthetextframe.
4. Whenyouaredonetyping,clickanywhereelseinthelayoutorpresstheEsc
key.
Toedityourtext,double-clickonthetextframetoactiveitandthenmakeyourchanges.
Ifyouareeditingtextwhilethelayoutzoomisnotsetto100%andyourcursordisappears,
pressingtheleftorrightarrowkeysredisplaysthecursor.Thisisaknownissuewiththeoperating
system.
Note:
ChangingtheTextStyleinaTextFrame
Tochangethestyleoftextinatextframe:
1. Either:
• RightclickonthetextframeandselectTextStyletoopentheTextStyledialogbox.
• SelectthetextframeandthenclickModifyTextStyle
intheLayoutDesignerwindow.
2. Changethefont,size,color,andeffectsappliedtothetextintheframe.
TexteffectsshowningreyareunavailableformodifyingthetextinaLayoutDesignerwindow.
MapInfoProfessional12.5
326
WorkingwithLayouts
49
3. ClickOKtoapplyyourchanges.
Tochangethestylefortextinmultipleframes,presstheCtrl
keywhileselectingtextframes,right-click
ononeoftheframes,andthenselectTextStyle.
ChangingTextAlignmentandSpacing
Youcancontrolthehorizontalalignmentofthetextwithinatextframe.Thealignmentdeterminesthe
appearanceandorientationoftheedgesofthetextasleft-aligned,right-aligned,orcentered.Youcan
alsodeterminehowmuchspaceoccursbetweenthelinesoftext.
Tocontrolthealignmentorspacingoftext:
1. Selectoneormoretextframesbyclickingorshift-clickingonthem.
2. OntheLayoutDesignerwindow,onlyoneofthefollowingiconsdisplays.Clickonittoseea
drop-downmenuwithallofthesealignmentoptionsandthenselectone.
Left-justifiesthetextwithinatextframe.
AlignTextLeft
Centersthetextwithinatextframe.
CenterText
Right-justifiesthetextwithinatextframe.
AlignTextRight
3. Clickthefollowingicontoselectfromadrop-downlistoflinespacingoptions.
Setstheamountofspacethatdisplaysbetweenthelinesoftext
withinatextframe.YoucanselectSingleLine,1.5Lines,or
DoubleLines.
LineSpacing
Thetextrefreshesusingthenewalignmentandspacing.
AddingShapestotheLayoutDesignerWindow
Youcanaddashapetoyourlayout,suchasanellipse,rectangle,roundedrectangle,orlinebyclicking
theDrawShape
toolontheLayoutDesignerwindowtoolbar.Thisisusefulforaddingbordersto
yourlayout,designelements(suchasshadingbehindalegend),orcallingoutandseparatingtextor
areasofthelayoutforreview,sign-off,orspecialattention.
Toaddashapetoyourlayout:
1. Setthefillcolorfortheshape.OntheOptionsmenupointtoRegionStyleandselectForeground
Color.
2. OntheLayoutDesignerwindow,clickDrawShape
.
3. Selectashapefromthelist.
Selecttoinsertaframecontaininganellipseshape.
Ellipse
Selecttoinsertaframecontainingarectangleshape.
Rectangle
Selecttoinsertaframecontainingaroundedrectangleshape.
RoundedRectangle
Selecttoinsertaframecontainingalineshape.
Line
4. Clickanddragtodrawtheshapeontothecanvas.
5. Afterdrawingtheshape,dragittoadifferentlocationorresizeitbydraggingoneofitscorners.
327
MapInfoProfessionalUserGuide
Chapter12:StylizingYourMapforPresentationsandPublishing
51
SavingaLayoutintheLayoutDesignerWindow
YoucansavealayoutinaLayoutDesignerwindowbysavingtoaworkspace.
Tosaveyourlayouttoaworkspace:
1. OntheFilemenu,pointtoSaveWorkspacetoopentheSaveWorkspacedialogbox.
2. Selectalocationtosavetheworkspaceto,givethefileaname,andthenclickSave.
Theworkspacedoesnotsavewithimagefiles.Ifthelayoutincludesimages,thentheworkspacesaves
thereferencestotheimages.Ifaworkspacecannotfindanimagewhenitopens,thenanimagenot
foundmessagedisplayswithapathtotheimagefile.Thiscouldhappenwhenyou:
• Copytheworkspacefiletoadifferentlocationbeforeopeningit,becausethereferencestotheimages
arenowbroken.
• Renameormoveanimagefileandthenopentheworkspace,becausetheimagereferenceisnow
broken.
Touseyourlayoutonanothermachine,saveitusingtheWorkspacePackagertool.Thistoolcollects
allreferencedtablesandfiles,suchasimages,intoafolderwiththeworkspace.Youcanthensaveand
sharethisfolderwithotherMapInfoProfessionalusers.
DeletingaFramefromtheLayoutDesignerWindow
Todelete:
• Asingleframefromyourlayout,selectitandthenpresstheDelete
key.
• Multipleframes,presstheCtrl
keywhileselectingframes,andthenpresstheDelete
keytoremove
themfromthelayout.
MovingFrames
YoucanmoveframesanywherewithintheLayoutDesignerwindow,butnotabovethetopedgeorto
theleftofthecanvas.
Ifyouneedtoviewtheentirecontentsofthelayoutbeforemovingframes,thenclicktheFitLayoutin
Windowtooltotherightofthezoomslider.Fordetails,seeRe-CenterandSpecifyaZoomLevelfor
theLayoutDesignerWindow.
Tomove:
• Asingleframe,clickontheframeanddragtoanewlocationonthecanvas.Touseprecise
measurements,right-clickontheframeandselectFrameProperties.IntheFrameProperties
dialogbox,enternewhorizontal(X)andvertical(Y)values.
• Multipleframes,presstheCtrl
keywhileclickingontheframesyouwishtoselectandthendrag
toanewlocation.
YoumayaddenoughframestotheLayoutDesignerwindowtocauseframestooverlaponeanother.
IntheLayoutDesignerwindowallframesareorderedfromfronttoback.Thinkofthemasbeingstacked
intheLayoutDesignerwindow.Whenyouplaceanewframe,itisautomaticallythefrontmostframe,
evenifitisnotoverlappinganyotherframesinthelayout.Todisplayyourframesproperly,youmay
needtobringaframeforwardinfrontofotherframes.
Tochangetheorderofframes,right-clickonthefrontframe.Fromthepop-upmenu,selectSendto
Backtorepositionitbehindtheframeyouwanttomove.Usetheseright-clickoptionstoreposition
frames:
Movestheframetothefront,sothatitisontopofalloftheotherframes.
BringtoFront
Movestheframetotheback,sothatitisbehindalloftheotherframes.
SendtoBack
MapInfoProfessional12.5
328
WorkingwithLayouts
45
ResizingFrames
Thecontentsofaframescalestofitwithintheframe.
Toresizeaframeeither:
• Selecttheframeandthendraganedgeorcornertoanewsize.
• Specifywidthandheightvaluesfortheframe.Todothis,right-clickontheframeandselectFrame
Properties.IntheFramePropertiesdialogbox,enternewWidthandHeightvalues.
Whenresizingimageframes,youcanonlydragacorner.Theimagescalestofitwithinthenewframe
size.Fordetails,seeAddinganImagetotheLayoutDesignerWindow.
TheWidthandHeightvaluesareinthedefaultunitssetfortheapplication.ThissettingisontheSystem
SettingsPreferencesdialogbox,whichyoucanopenontheOptionsmenu,bypointingtoPreferences
andclickingSystemSettings.ThePaperandLayoutUnitslistsetstheunits,suchasinches,points,
orcentimeters,fortheWidthandHeightvalues.Fordetails,seeSettingYourDefaultUnits.
Fordetailsaboutchangingthesizeofshapes,seeEditingShapesinaLayoutDesignerWindow.
AligningFramesintheLayoutDesignerWindow
YoucanmoveandpositionlayoutframesintheLayoutDesignerwindowbysnappingthemtoa
backgroundgridorguideline.Snappingisaneffectwhereyoumovealayoutframenearaguidelineor
agridlineanditalignsandattaches(snaps)totheline.Thisisusefulforarrangingmultipleframesso
thattheiredgeslineupperfectly.
Gridsandguidelinesaretoolsthathelpyoudesignalayout.Theydonotdisplayinprintoutsorexported
images.
Whenworkingwiththegridandguidelines,youmaywanttozoomintooroutoftheviewintheLayout
Designerwindow.Forinstructionsonhowtodothis,seeRe-CenterandSpecifyaZoomLevelfor
theLayoutDesignerWindow.
AligningLayoutFramesUsingGridLines
TousegridlinestoalignthepositionoflayoutframesintheLayoutDesignerwindow:
1. OntheGrids&Guidelines
menu,pointtoShowGrid.
Acheckmarkdisplaysbesidethisoptionwhenitisenabled.
2. OntheGrids&Guidelinesmenu,pointtoSnaptoGrid.
Acheckmarkdisplaysbesidethisoptionwhenitisenabled.
3. ClickonanddragaframetowhereyouwanttopositionitintheLayoutDesignerwindow.
Theupperleftcorneroftheframesnapstothenearestgridcellcorner.
Toresizethegridtohelppositionframes,ontheGrids&GuidelinesmenupointtoGridSizeandselect
agridsizefromthelist.Thegridresizestoyourselection.
Tostopworkingwiththegrid,ontheGrids&GuidelinesmenupointtoShowGrid.Thegridishidden
whenthereisnocheckmarkbesidethisoption.
AligningLayoutFramesUsingGuidelines
Workingwithguidelinesissimilartoworkingwithgridlines,exceptthatyoucandiscretelypositiona
guidelineformorecontrolwhenaligninglayoutframes.
ToaddaguidelinetotheLayoutDesignerwindow:
1. OntheGrids&Guidelines
menu,pointtoAddVerticalGuidelineorAddHorizontalGuideline.
329
MapInfoProfessionalUserGuide
Chapter12:StylizingYourMapforPresentationsandPublishing
54
2. Clickontheguidelineanddragittowhereyouwanttopositionitinthelayout.
3. Selectoneormorelayoutframes(framebordersdisplaytoindicateyourselections).
4. OntheGrids&Guidelinesmenu,pointtooneofthefollowingoptionstosnaptheedgeoftheframe
bordertothenearestguideline.
Alignsallselectedframestothenearestguidelinelocatedtothe
leftoftheframe.
SnaptoClosest
LeftGuideline
Alignsallselectedframestothenearestguidelinelocatedtothe
rightoftheframe.
SnaptoClosest
RightGuideline
Alignsallselectedframestothenearestguidelinelocatedabove
theframe.
SnaptoClosest
TopGuideline
Alignsallselectedframestothenearestguidelinelocatedbelow
theframe.
SnaptoClosest
BottomGuideline
SelectingAddVerticalGuidelineorAddHorizontalGuidelineaddsaguidelinetothecenterofthe
LayoutDesignerwindow.Ifyoumakethisselectionmultipletimes,youwillhavemorethanoneguideline
atthecenterposition—itmightnotlookthatwayuntilyoustartdraggingthemtoanewposition.
HidingandShowingGuidelinesintheLayoutDesignerWindow
Tohideorshowguidelines:
OntheGrids&Guidelines
menu,pointtoDisableGuidelinesorEnableGuidelines.
RemovingGuidelinesintheLayoutDesignerWindow
Youhavetwooptionsforremovingguidelines:
• Toremoveoneguideline,right-clickonitandthenselectRemoveGuideline.
• Toremoveallguidelines,ontheGrids&Guidelines
menupointtoRemoveAllGuidelines.
EditingintheLayoutDesignerWindow
Youcaneditthecontentsofmap,legend,browser,ortextframes,butnotimageframes.
Whenyouactivateamapframe,youhaveaccesstoalloftheeditingtoolsthatareavailableforthe
correspondingMapwindow.Whenyouactivateabrowserframe,youcansortthecontents,resizeand
reordercolumns,pickfields,andchangethefontdisplay.
Toactivateaframe,sothatyoucanchangeitscontents:
• Right-clickontheframeandpointtoActivateinthepop-upmenu.
• Double-clickontheframe,orpresstheAlt
keyandclickontheframe.
Theborderofanactiveframehighlights.
Clickingawayfromtheactiveframedeactivatesit,asdoespressingtheAlt
keyandclickingintheframe.
(UsetheAlt
keyasaquickwaytotogglebetweenmakingaframeactiveandinactive.)
Formoreinformationabouthowtoeditmaps,tables,andtext,see:
• EditingtheContentsofaMapFrame
• EditingtheContentsofaLegendFrame
• EditingtheContentsofaBrowserFrame
• ChangingtheTextStyleinaTextFrame
MapInfoProfessional12.5
330
WorkingwithLayouts
Documents you may be interested
Documents you may be interested