API Reference > presentation-backend > Core > PresentationManager > getContentAndSize getContentAndSize Method Retrieves the content and content size based on supplied content descriptor override. getContentAndSize(requestContext: ClientRequestContext, requestOptions: Paged<ContentRequestOptions<IModelDb>>, descriptorOrOverrides: Descriptor | DescriptorOverrides, keys: KeySet): Promise<{ content: Content, size: number }> Parameter Type Description requestContext ClientRequestContext Client request context requestOptions Paged<ContentRequestOptions<IModelDb>> Options for thr request. descriptorOrOverrides Descriptor | DescriptorOverrides Content descriptor or its overrides specifying how the content should be customized keys KeySet Keys of ECInstances to get the content for Returns - Promise<{ content: Content, size: number }> A promise object that returns either content and content set size on success or an error string on error. Defined in presentation/backend/src/PresentationManager.ts Line 445 Last Updated: 13 June, 2024